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