37 references to AssertLogContains
Microsoft.Build.Utilities.UnitTests (37)
TaskLoggingHelper_Tests.cs (16)
138
mockEngine.
AssertLogContains
("echo {");
139
mockEngine.
AssertLogContains
("{1");
140
mockEngine.
AssertLogContains
("{2");
141
mockEngine.
AssertLogContains
("{3");
142
mockEngine.
AssertLogContains
("{4");
256
engine.
AssertLogContains
(message);
264
engine.
AssertLogContains
(message);
271
engine.
AssertLogContains
(message);
272
engine.
AssertLogContains
(stackTrace);
279
engine.
AssertLogContains
(message);
280
engine.
AssertLogContains
(stackTrace);
285
engine.
AssertLogContains
(message);
286
engine.
AssertLogContains
(stackTrace);
287
engine.
AssertLogContains
("InvalidOperationException");
311
engine.
AssertLogContains
("The operation was invalid");
312
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");