1 implementation of ITestAccessor
System.Private.Windows.Core.TestUtilities (1)
TestAccessor.cs (1)
47public class TestAccessor<T> : ITestAccessor
39 references to ITestAccessor
ComDisabled.Tests (3)
DataObjectComTests.cs (3)
19var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 41var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 59var dropTargetAccessor = typeof(DropTarget).TestAccessor();
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBaseTests.cs (1)
14var testAccessor = typeof(WindowsFormsApplicationBase).TestAccessor();
System.Private.Windows.Core.TestUtilities (5)
TestAccessors.cs (5)
29/// Use <see cref="ITestAccessor.CreateDelegate">CreateDelegate</see> to deal with methods that take spans or 50public static ITestAccessor TestAccessor(this object instanceOrType) 52ITestAccessor? testAccessor = instanceOrType is Type type 53? (ITestAccessor?)Activator.CreateInstance( 56: (ITestAccessor?)Activator.CreateInstance(
System.Windows.Forms.Tests (30)
System\Windows\Forms\DataObjectComTests.cs (2)
19var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 38var dropTargetAccessor = typeof(DropTarget).TestAccessor();
System\Windows\Forms\DataObjectTests.cs (5)
2706var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 2734var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 2755var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 2771var dropTargetAccessor = typeof(DropTarget).TestAccessor(); 2787var dropTargetAccessor = typeof(DropTarget).TestAccessor();
System\Windows\Forms\FileDialogTests.cs (1)
795var accessor = typeof(FileDialog).TestAccessor();
System\Windows\Forms\GroupBoxTests.cs (1)
608var accessor = groupBox.TestAccessor();
System\Windows\Forms\LayoutEventArgsTests.cs (1)
81ITestAccessor tableLayoutPanelTestAccessor = tableLayoutPanel.TestAccessor();
System\Windows\Forms\ListViewGroupTests.cs (2)
1432var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 1447var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor();
System\Windows\Forms\ListViewTests.cs (5)
4883var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 4913var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 4930var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 4962var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 4976var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor();
System\Windows\Forms\MonthCalendarTests.cs (1)
4577var testAccessor = calendar.TestAccessor();
System\Windows\Forms\TreeViewTests.cs (10)
6672var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 6691var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 6712var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 6731var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 6751var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 6791var accessor = KeyboardToolTipStateMachine.Instance.TestAccessor(); 7471var accessor = treeView.TestAccessor(); 7483var accessor = treeView.TestAccessor(); 7494var accessor = treeView.TestAccessor(); 7510var accessor = treeView.TestAccessor();
TestAccessorTests.cs (2)
120ITestAccessor accessor = testClass.TestAccessor(); 129ITestAccessor accessor = testClass.TestAccessor();