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)
138
engine.
AssertLogContains
("MyAlternatePath");
154
engine.
AssertLogContains
("MSB6004");
177
engine.
AssertLogContains
("MSB6002");
200
engine.
AssertLogContains
("MSB6006");
245
engine.
AssertLogContains
("echo hello world {");
297
engine.
AssertLogContains
("Who made you king anyways");
321
engine.
AssertLogContains
("Who made you king anyways");
347
engine.
AssertLogContains
("Who made you king anyways");
377
engine.
AssertLogContains
("BADTHINGHAPPENED");
427
engine.
AssertLogContains
(shellName);
433
engine.
AssertLogContains
(copyName);
476
engine.
AssertLogContains
(
532
engine.
AssertLogContains
("hello world");
560
engine.
AssertLogContains
(invalidLevel);
592
engine.
AssertLogContains
("CS0168");
593
engine.
AssertLogContains
("The variable 'foo' is declared but never used");
594
engine.
AssertLogContains
("BADTHINGHAPPENED");
595
engine.
AssertLogContains
("This is my custom error format");
803
engine.
AssertLogContains
("echo \"hello \\\"world\\\"\"");
838
engine.
AssertLogContains
("\nhello_stdout");
839
engine.
AssertLogContains
("\nhello_stderr");