1 write to _logger
Microsoft.Build.Engine.UnitTests (1)
Graph\ResultCacheBasedBuilds_Tests.cs (1)
34
_logger
= new MockLogger(_output);
21 references to _logger
Microsoft.Build.Engine.UnitTests (21)
Graph\ResultCacheBasedBuilds_Tests.cs (21)
64
_logger
,
72
_logger
.FullLog.ShouldContain("MSB4256:");
73
_logger
.AllBuildEvents.Count.ShouldBe(6);
74
_logger
.ErrorCount.ShouldBe(1);
86
_logger
,
94
_logger
.FullLog.ShouldContain("Writing build results caches to:");
95
_logger
.FullLog.ShouldContain("msbuild-cache");
96
_logger
.ErrorCount.ShouldBe(0);
108
Loggers = new[] {
_logger
}
114
_logger
.FullLog.ShouldContain("Using input build results caches: a;b");
115
_logger
.FullLog.ShouldContain("Writing build results caches to: c");
116
_logger
.Errors.First().Message.ShouldContain("MSB4255:");
117
_logger
.ErrorCount.ShouldBe(1);
165
_logger
,
174
_logger
.ErrorCount.ShouldBe(0);
561
_logger
,
569
_logger
.AllBuildEvents.Count.ShouldBe(6);
570
_logger
.Errors.First().Message.ShouldContain("MSB4255:");
571
_logger
.Errors.First().Message.ShouldContain("FileDoesNotExist1");
572
_logger
.Errors.First().Message.ShouldContain("FileDoesNotExist2");
573
_logger
.ErrorCount.ShouldBe(1);