13 references to Results
Microsoft.Build.BuildCheck.UnitTests (13)
DoubleWritesAnalyzer_Tests.cs (4)
55_registrationContext.Results.Count.ShouldBe(1); 56_registrationContext.Results[0].CheckRule.Id.ShouldBe("BC0102"); 76_registrationContext.Results.Count.ShouldBe(4); 77_registrationContext.Results.ForEach(result => result.CheckRule.Id.ShouldBe("BC0102"));
MockBuildCheckRegistrationContext.cs (1)
58=> Results.Add(result);
SharedOutputPathCheck_Tests.cs (8)
61_registrationContext.Results.Count.ShouldBe(0); 88_registrationContext.Results.Count.ShouldBe(2); 89_registrationContext.Results[0].CheckRule.Id.ShouldBe("BC0101"); 90_registrationContext.Results[1].CheckRule.Id.ShouldBe("BC0101"); 95foreach (string path in _registrationContext.Results[0].MessageArgs) 99foreach (string path in _registrationContext.Results[1].MessageArgs) 131_registrationContext.Results.Count.ShouldBe(4); // 4 reports for two pairs of project: (1, 2) and (1, 3). 132foreach (var result in _registrationContext.Results)