106 references to TestAccessor
System.Windows.Forms.Tests (106)
KeyboardTooltipStateMachineTests.cs (8)
69
instance.
TestAccessor
.Dynamic._currentTool = control;
70
instance.
TestAccessor
.Dynamic._currentState = KeyboardToolTipStateMachine.SmState.Shown;
74
IKeyboardToolTip currentTool = instance.
TestAccessor
.Dynamic._currentTool;
75
string currentState = instance.
TestAccessor
.Dynamic._currentState.ToString();
101
instance.
TestAccessor
.Dynamic._currentTool = control;
102
instance.
TestAccessor
.Dynamic._currentState = KeyboardToolTipStateMachine.SmState.Shown;
106
IKeyboardToolTip currentTool = instance.
TestAccessor
.Dynamic._currentTool;
107
string currentState = instance.
TestAccessor
.Dynamic._currentState.ToString();
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (6)
71
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
86
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
104
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
121
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
139
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
181
PropertyGridView gridView = control.
TestAccessor
.Dynamic._gridView;
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (11)
17
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
34
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
44
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
45
ToolStripButton propertyPagesButton = propertyGrid.
TestAccessor
.Dynamic._viewPropertyPagesButton;
62
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
75
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
103
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
131
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
153
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
180
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
181
ToolStripButton propertyPagesButton = propertyGrid.
TestAccessor
.Dynamic._viewPropertyPagesButton;
System\Windows\Forms\ContainerControlTests.cs (8)
1325
instance.
TestAccessor
.Dynamic._currentTool = control;
1326
instance.
TestAccessor
.Dynamic._currentState = (byte)2;
1329
IKeyboardToolTip currentTool = instance.
TestAccessor
.Dynamic._currentTool;
1330
string currentState = instance.
TestAccessor
.Dynamic._currentState.ToString();
1350
instance.
TestAccessor
.Dynamic._currentTool = control;
1351
instance.
TestAccessor
.Dynamic._currentState = (byte)2;
1354
IKeyboardToolTip currentTool = instance.
TestAccessor
.Dynamic._currentTool;
1355
string currentState = instance.
TestAccessor
.Dynamic._currentState.ToString();
System\Windows\Forms\ListViewGroupTests.cs (2)
1434
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
1449
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
System\Windows\Forms\ListViewTests.cs (9)
4872
Assert.True((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(listViewItem));
4885
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
4904
Assert.True((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(listViewItem));
4915
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
4932
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
4947
Assert.False((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(listViewItem));
4956
Assert.True((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(listViewItem));
4964
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
4978
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DropDownButton.DropDownButtonAccessibleObjectTests.cs (1)
90
PropertyGridView gridView = control.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (5)
21
propertyGridView.Properties.AddValue(propertyGrid.
TestAccessor
.Dynamic.s_accessibilityProperty, accessibleObject);
24
propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry = gridEntry;
28
propertyGridView.
TestAccessor
.Dynamic._dropDownHolder = dropDownHolder;
71
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
76
var selectedGridEntry = propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry as PropertyDescriptorGridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (4)
18
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
44
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
57
propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry = gridEntry;
71
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewListBoxAccessibleObjectTests.cs (3)
18
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
33
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
49
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (19)
29
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
32
PropertyDescriptorGridEntry selectedGridEntry = propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry;
38
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
.Dynamic.EditTextBox.Handle);
56
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
61
propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry = gridEntry;
66
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
.Dynamic.EditTextBox.Handle);
74
propertyGridView.
TestAccessor
.Dynamic._dropDownHolder = dropDownHolder;
96
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
110
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
126
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
138
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
147
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
162
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
175
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
181
gridView.
TestAccessor
.Dynamic.EditTextBox.CreateControl(true); // "true" means ignoring Visible value
195
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
202
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
.Dynamic.EditTextBox.Handle);
205
propertyGridView.
TestAccessor
.Dynamic._selectedGridEntry = null;
214
PropertyGridView gridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\PropertyGridView.DropDownHolderTests.cs (5)
35
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
46
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
63
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
74
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
94
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\PropertyGridView.GridViewListBoxTests.cs (1)
22
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.cs (1)
14
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridInternal\PropertyGridViewTests.Rendering.cs (1)
25
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.GridView;
System\Windows\Forms\PropertyGridTests.cs (11)
170
PropertyGridView propertyGridView = control.
TestAccessor
.GridView;
2744
var propertyGridTestAccessor = propertyGrid.
TestAccessor
;
2767
var propertyGridTestAccessor = propertyGrid.
TestAccessor
;
3879
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
3892
ImageList normalButtons = propertyGrid.
TestAccessor
.Dynamic._normalButtonImages;
3898
ImageList newNormalButtons = propertyGrid.
TestAccessor
.Dynamic._normalButtonImages;
4002
var gridViewAccessor = propertyGridView.
TestAccessor
;
4029
var accessor = propertyGrid.
TestAccessor
;
4125
var accessor = propertyGrid.
TestAccessor
;
4152
var accessor = propertyGrid.
TestAccessor
;
4169
PropertyGridView propertyGridView = propertyGrid.
TestAccessor
.Dynamic._gridView;
System\Windows\Forms\PropertyGridToolStripButtonTests.cs (1)
14
ToolStripButton[] toolStripButtons = propertyGrid.
TestAccessor
.Dynamic._viewSortButtons;
System\Windows\Forms\TreeNodeTests.cs (2)
4633
Assert.False((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(treeNode));
4634
Assert.False((bool)KeyboardToolTipStateMachine.Instance.
TestAccessor
.Dynamic.IsToolTracked(treeSubNode));
System\Windows\Forms\TreeViewTests.cs (8)
6660
Assert.True(KeyboardToolTipStateMachine.Instance.
TestAccessor
.IsToolTracked(treeNode));
6674
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
6693
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
6714
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
6733
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
6753
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;
6780
Assert.True(KeyboardToolTipStateMachine.Instance.
TestAccessor
.IsToolTracked(treeNode));
6793
var accessor = KeyboardToolTipStateMachine.Instance.
TestAccessor
;