public void DataGridViewCheckBoxCellAccessibleObject_Ctor_Default() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.Null(accessibleObject.Owner); Assert.Equal(AccessibleRole.Cell, accessibleObject.Role); }
public void DataGridViewCheckBoxCellAccessibleObject_IsPatternSupported_ReturnsExpected(int patternId) { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.True(accessibleObject.IsPatternSupported((UiaCore.UIA)patternId)); }
public void DataGridViewCheckBoxCellAccessibleObject_IsTogglePatternAvailablePropertyId_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.True((bool)accessibleObject.GetPropertyValue(UiaCore.UIA.IsTogglePatternAvailablePropertyId)); }
public void DataGridViewCheckBoxCellAccessibleObject_ControlType_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.Equal(UiaCore.UIA.CheckBoxControlTypeId, accessibleObject.GetPropertyValue(UiaCore.UIA.ControlTypePropertyId)); }
public void DataGridViewCheckBoxCellAccessibleObject_GetChildCount_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.Equal(0, accessibleObject.GetChildCount()); }
public void DataGridViewCheckBoxCellAccessibleObject_IsIAccessibleExSupported_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.True(accessibleObject.IsIAccessibleExSupported()); }