37 references to AssertLogContains
Microsoft.Build.Utilities.UnitTests (37)
TaskLoggingHelper_Tests.cs (16)
139mockEngine.AssertLogContains("echo {"); 140mockEngine.AssertLogContains("{1"); 141mockEngine.AssertLogContains("{2"); 142mockEngine.AssertLogContains("{3"); 143mockEngine.AssertLogContains("{4"); 257engine.AssertLogContains(message); 265engine.AssertLogContains(message); 272engine.AssertLogContains(message); 273engine.AssertLogContains(stackTrace); 280engine.AssertLogContains(message); 281engine.AssertLogContains(stackTrace); 286engine.AssertLogContains(message); 287engine.AssertLogContains(stackTrace); 288engine.AssertLogContains("InvalidOperationException"); 312engine.AssertLogContains("The operation was invalid"); 313engine.AssertLogContains("An I/O error occurred");
ToolTask_Tests.cs (21)
135engine.AssertLogContains("MyAlternatePath"); 151engine.AssertLogContains("MSB6004"); 174engine.AssertLogContains("MSB6002"); 197engine.AssertLogContains("MSB6006"); 222engine.AssertLogContains("CS0168"); 223engine.AssertLogContains("The variable 'foo' is declared but never used"); 244engine.AssertLogContains("echo hello world {"); 296engine.AssertLogContains("Who made you king anyways"); 320engine.AssertLogContains("Who made you king anyways"); 344engine.AssertLogContains("Who made you king anyways"); 388engine.AssertLogContains(shellName); 394engine.AssertLogContains(copyName); 437engine.AssertLogContains( 493engine.AssertLogContains("hello world"); 526engine.AssertLogContains("CS0168"); 527engine.AssertLogContains("The variable 'foo' is declared but never used"); 528engine.AssertLogContains("BADTHINGHAPPENED"); 529engine.AssertLogContains("This is my custom error format"); 736engine.AssertLogContains("echo \"hello \\\"world\\\"\""); 771engine.AssertLogContains("\nhello_stdout"); 772engine.AssertLogContains("\nhello_stderr");