1 write to _mockEngine
Microsoft.Build.Tasks.UnitTests (1)
SdkToolsPathUtility_Tests.cs (1)
30
_mockEngine
= new MockEngine();
22 references to _mockEngine
Microsoft.Build.Tasks.UnitTests (22)
SdkToolsPathUtility_Tests.cs (22)
34
loggingTask.BuildEngine =
_mockEngine
;
51
_mockEngine
.AssertLogContains(comment);
52
Assert.Equal(0,
_mockEngine
.Warnings);
55
_mockEngine
.AssertLogContains(comment);
56
Assert.Equal(1,
_mockEngine
.Errors);
69
_mockEngine
.AssertLogDoesntContain(comment);
70
Assert.Equal(0,
_mockEngine
.Warnings);
73
_mockEngine
.AssertLogDoesntContain(comment);
74
Assert.Equal(0,
_mockEngine
.Errors);
92
Assert.True(String.IsNullOrEmpty(
_mockEngine
.Log));
112
Assert.True(String.IsNullOrEmpty(
_mockEngine
.Log));
127
Assert.True(String.IsNullOrEmpty(
_mockEngine
.Log));
145
Assert.True(String.IsNullOrEmpty(
_mockEngine
.Log));
160
Assert.True(String.IsNullOrEmpty(
_mockEngine
.Log));
175
_mockEngine
.AssertLogContains(comment);
178
_mockEngine
.AssertLogContains(comment);
179
Assert.Equal(1,
_mockEngine
.Errors);
190
_mockEngine
.AssertLogContains("MSB3666");
191
Assert.Equal(1,
_mockEngine
.Errors);
204
_mockEngine
.AssertLogDoesntContain(comment);
207
_mockEngine
.AssertLogDoesntContain(comment);
208
Assert.Equal(0,
_mockEngine
.Errors);