1 write to _linkAreaUI
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUITests.cs (1)
19
_linkAreaUI
= new(_mockHelpService.Object);
23 references to _linkAreaUI
System.Windows.Forms.Design.Tests (23)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUITests.cs (23)
24
_linkAreaUI
.Dispose();
30
_linkAreaUI
.Should().NotBeNull();
31
_linkAreaUI
.Should().BeOfType<LinkAreaEditor.LinkAreaUI>();
33
IHelpService? helpServiceField =
_linkAreaUI
.TestAccessor().Dynamic._helpService;
42
_linkAreaUI
.SampleText = sampleText;
44
_linkAreaUI
.SampleText.Should().Be(sampleText);
52
_linkAreaUI
.Start(linkArea);
54
_linkAreaUI
.SampleText = testText;
56
_linkAreaUI
.SampleText.Should().Be(testText);
58
dynamic testAccessor =
_linkAreaUI
.TestAccessor().Dynamic;
69
_linkAreaUI
.Start(new object());
70
object? initialValue =
_linkAreaUI
.Value;
72
_linkAreaUI
.End();
73
object? finalValue =
_linkAreaUI
.Value;
82
_linkAreaUI
.Start(new LinkArea(1, 2));
84
_linkAreaUI
.End();
86
_linkAreaUI
.Value.Should().BeNull();
93
_linkAreaUI
.Start(testValue);
95
dynamic dynamicAccessor =
_linkAreaUI
.TestAccessor().Dynamic;
99
_linkAreaUI
.Value.Should().Be(testValue);
101
string sampleText =
_linkAreaUI
.SampleText;
111
Action action = () =>
_linkAreaUI
.Start(null);
114
_linkAreaUI
.Value.Should().BeNull();