5 writes to Log
Microsoft.Build.Utilities.UnitTests (5)
TaskLoggingHelper_Tests.cs (4)
259engine.Log = string.Empty; 266engine.Log = string.Empty; 274engine.Log = string.Empty; 280engine.Log = string.Empty;
ToolTask_Tests.cs (1)
389engine.Log = string.Empty;
8 references to Log
Microsoft.Build.Utilities.UnitTests (8)
MockEngine.cs (2)
98internal void AssertLogContains(string contains) => Assert.Contains(contains, Log, StringComparison.OrdinalIgnoreCase); 130internal void AssertLogDoesntContain(string contains) => Assert.DoesNotContain(contains, Log, StringComparison.OrdinalIgnoreCase);
TaskLoggingHelper_Tests.cs (5)
117mockEngine.Log.ShouldContain("MySuperCommand"); 161mockEngine.Log.Contains("filename(1,2,3,4): Romulan error : Oops I wiped your harddrive foo").ShouldBeTrue(); 162mockEngine.Log.Contains("filename(1,2,3,4): Romulan warning : Be nice or I wipe your harddrive foo").ShouldBeTrue(); 163mockEngine.Log.Contains("Oops I wiped your harddrive foo").ShouldBeTrue(); 164mockEngine.Log.Contains("Be nice or I wipe your harddrive foo").ShouldBeTrue();
ToolTask_Tests.cs (1)
963_output.WriteLine(engine.Log);