37 references to AssertLogContains
Microsoft.Build.Utilities.UnitTests (37)
TaskLoggingHelper_Tests.cs (16)
139
mockEngine.
AssertLogContains
("echo {");
140
mockEngine.
AssertLogContains
("{1");
141
mockEngine.
AssertLogContains
("{2");
142
mockEngine.
AssertLogContains
("{3");
143
mockEngine.
AssertLogContains
("{4");
257
engine.
AssertLogContains
(message);
265
engine.
AssertLogContains
(message);
272
engine.
AssertLogContains
(message);
273
engine.
AssertLogContains
(stackTrace);
280
engine.
AssertLogContains
(message);
281
engine.
AssertLogContains
(stackTrace);
286
engine.
AssertLogContains
(message);
287
engine.
AssertLogContains
(stackTrace);
288
engine.
AssertLogContains
("InvalidOperationException");
312
engine.
AssertLogContains
("The operation was invalid");
313
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");