39 references to AssertLogContains
Microsoft.Build.Utilities.UnitTests (39)
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 (23)
137
engine.
AssertLogContains
("MyAlternatePath");
153
engine.
AssertLogContains
("MSB6004");
176
engine.
AssertLogContains
("MSB6002");
199
engine.
AssertLogContains
("MSB6006");
224
engine.
AssertLogContains
("CS0168");
225
engine.
AssertLogContains
("The variable 'foo' is declared but never used");
246
engine.
AssertLogContains
("echo hello world {");
298
engine.
AssertLogContains
("Who made you king anyways");
322
engine.
AssertLogContains
("Who made you king anyways");
348
engine.
AssertLogContains
("Who made you king anyways");
378
engine.
AssertLogContains
("BADTHINGHAPPENED");
428
engine.
AssertLogContains
(shellName);
434
engine.
AssertLogContains
(copyName);
477
engine.
AssertLogContains
(
533
engine.
AssertLogContains
("hello world");
561
engine.
AssertLogContains
(invalidLevel);
593
engine.
AssertLogContains
("CS0168");
594
engine.
AssertLogContains
("The variable 'foo' is declared but never used");
595
engine.
AssertLogContains
("BADTHINGHAPPENED");
596
engine.
AssertLogContains
("This is my custom error format");
803
engine.
AssertLogContains
("echo \"hello \\\"world\\\"\"");
838
engine.
AssertLogContains
("\nhello_stdout");
839
engine.
AssertLogContains
("\nhello_stderr");