20 references to TestAccessor
System.Windows.Forms.Primitives.Tests (20)
System\Windows\Forms\Automation\UiaTextRangeTests.cs (20)
35object actual = textRange.TestAccessor()._provider; 159var testAccessor = textRange.TestAccessor(); 176textRange.TestAccessor()._start = start; 1082bool actual = StaticNullTextRange.TestAccessor().AtParagraphBoundary(text, index); 1103bool actual = StaticNullTextRange.TestAccessor().AtWordBoundary(text, index); 1114bool actual = StaticNullTextRange.TestAccessor().IsApostrophe(ch); 1128HorizontalTextAlignment actual = textRange.TestAccessor().GetHorizontalTextAlignment((WINDOW_STYLE)style); 1142CapStyle actual = textRange.TestAccessor().GetCapStyle((WINDOW_STYLE)editStyle); 1158bool actual = textRange.TestAccessor().GetReadOnly(); 1166COLORREF actual = StaticNullTextRange.TestAccessor().GetBackgroundColor(); 1183string actual = StaticNullTextRange.TestAccessor().GetFontName(logfont); 1205double actual = textRange.TestAccessor().GetFontSize(provider.Logfont); 1224FW actual = StaticNullTextRange.TestAccessor().GetFontWeight(logfont); 1231COLORREF actual = StaticNullTextRange.TestAccessor().GetForegroundColor(); 1242bool actual = StaticNullTextRange.TestAccessor().GetItalic(logfont); 1253TextDecorationLineStyle actual = StaticNullTextRange.TestAccessor().GetStrikethroughStyle(logfont); 1264TextDecorationLineStyle actual = StaticNullTextRange.TestAccessor().GetUnderlineStyle(logfont); 1282textRange.TestAccessor().MoveTo(start, end); 1299Assert.ThrowsAny<Exception>(() => textRange.TestAccessor().MoveTo(start, end)); 1318textRange.TestAccessor().ValidateEndpoints();