12 references to TestAccessor
System.Windows.Forms.Tests (12)
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (3)
22
propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry = gridEntry;
26
propertyGridView.
TestAccessor
().Dynamic._dropDownHolder = dropDownHolder;
74
var selectedGridEntry = propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry as PropertyDescriptorGridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
55
propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry = gridEntry;
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (8)
30
PropertyDescriptorGridEntry selectedGridEntry = propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry;
36
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
().Dynamic.EditTextBox.Handle);
59
propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry = gridEntry;
64
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
().Dynamic.EditTextBox.Handle);
72
propertyGridView.
TestAccessor
().Dynamic._dropDownHolder = dropDownHolder;
179
gridView.
TestAccessor
().Dynamic.EditTextBox.CreateControl(true); // "true" means ignoring Visible value
200
Assert.NotEqual(IntPtr.Zero, propertyGridView.
TestAccessor
().Dynamic.EditTextBox.Handle);
203
propertyGridView.
TestAccessor
().Dynamic._selectedGridEntry = null;