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