37 references to AssertLogContains
Microsoft.Build.Utilities.UnitTests (37)
TaskLoggingHelper_Tests.cs (16)
137
mockEngine.
AssertLogContains
("echo {");
138
mockEngine.
AssertLogContains
("{1");
139
mockEngine.
AssertLogContains
("{2");
140
mockEngine.
AssertLogContains
("{3");
141
mockEngine.
AssertLogContains
("{4");
255
engine.
AssertLogContains
(message);
263
engine.
AssertLogContains
(message);
270
engine.
AssertLogContains
(message);
271
engine.
AssertLogContains
(stackTrace);
278
engine.
AssertLogContains
(message);
279
engine.
AssertLogContains
(stackTrace);
284
engine.
AssertLogContains
(message);
285
engine.
AssertLogContains
(stackTrace);
286
engine.
AssertLogContains
("InvalidOperationException");
310
engine.
AssertLogContains
("The operation was invalid");
311
engine.
AssertLogContains
("An I/O error occurred");
ToolTask_Tests.cs (21)
135
engine.
AssertLogContains
("MyAlternatePath");
151
engine.
AssertLogContains
("MSB6004");
174
engine.
AssertLogContains
("MSB6002");
197
engine.
AssertLogContains
("MSB6006");
222
engine.
AssertLogContains
("CS0168");
223
engine.
AssertLogContains
("The variable 'foo' is declared but never used");
244
engine.
AssertLogContains
("echo hello world {");
296
engine.
AssertLogContains
("Who made you king anyways");
320
engine.
AssertLogContains
("Who made you king anyways");
344
engine.
AssertLogContains
("Who made you king anyways");
388
engine.
AssertLogContains
(shellName);
394
engine.
AssertLogContains
(copyName);
437
engine.
AssertLogContains
(
493
engine.
AssertLogContains
("hello world");
526
engine.
AssertLogContains
("CS0168");
527
engine.
AssertLogContains
("The variable 'foo' is declared but never used");
528
engine.
AssertLogContains
("BADTHINGHAPPENED");
529
engine.
AssertLogContains
("This is my custom error format");
736
engine.
AssertLogContains
("echo \"hello \\\"world\\\"\"");
771
engine.
AssertLogContains
("\nhello_stdout");
772
engine.
AssertLogContains
("\nhello_stderr");