29 references to Logs
Microsoft.Build.Utilities.UnitTests (29)
PrintLineDebugger_Tests.cs (29)
27return (id, callsite, args) => Logs.Add($"{id}{callsite}{string.Join(";", args)}"); 49writer.Logs.ShouldNotBeEmpty(); 50writer.Logs.First().ShouldEndWith("Hello World"); 51writer.Logs.ShouldHaveSingleItem(); 53AssertContextInfo(writer.Logs); 74writer1.Logs.ShouldNotBeEmpty(); 75writer1.Logs.First().ShouldEndWith("Hello World"); 76writer1.Logs.ShouldHaveSingleItem(); 78AssertContextInfo(writer1.Logs); 80writer1.Logs.ShouldBe(writer2.Logs, Case.Sensitive); 93writer.Logs.ShouldNotBeEmpty(); 94writer.Logs.First().ShouldEndWith("Hello World"); 95writer.Logs.ShouldHaveSingleItem(); 97AssertContextInfo(writer.Logs, "foo"); 121writer.Logs.ShouldNotBeEmpty(); 122writer.Logs[0].ShouldEndWith("inner"); 123writer.Logs.Count.ShouldBe(1); 125AssertContextInfo(writer.Logs); 150writer.Logs.ShouldNotBeEmpty(); 151writer.Logs[0].ShouldEndWith("inner"); 152writer.Logs.Count.ShouldBe(1); 154AssertContextInfo(writer.Logs); 176writer.Logs.ShouldNotBeEmpty(); 177writer.Logs[0].ShouldEndWith("outer1"); 178writer.Logs[1].ShouldEndWith("inner"); 179writer.Logs[2].ShouldEndWith("outer2"); 180writer.Logs.Count.ShouldBe(3); 182AssertContextInfo(writer.Logs);