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