1 write to _registrationContext
Microsoft.Build.BuildCheck.UnitTests (1)
SharedOutputPathCheck_Tests.cs (1)
21
_registrationContext
= new MockBuildCheckRegistrationContext();
16 references to _registrationContext
Microsoft.Build.BuildCheck.UnitTests (16)
SharedOutputPathCheck_Tests.cs (16)
22
_check.RegisterActions(
_registrationContext
);
41
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
51
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
60
_registrationContext
.Results.Count.ShouldBe(0);
70
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
78
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
87
_registrationContext
.Results.Count.ShouldBe(2);
88
_registrationContext
.Results[0].CheckRule.Id.ShouldBe("BC0101");
89
_registrationContext
.Results[1].CheckRule.Id.ShouldBe("BC0101");
94
foreach (string path in
_registrationContext
.Results[0].MessageArgs)
98
foreach (string path in
_registrationContext
.Results[1].MessageArgs)
115
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
120
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
125
_registrationContext
.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction(
130
_registrationContext
.Results.Count.ShouldBe(4); // 4 reports for two pairs of project: (1, 2) and (1, 3).
131
foreach (var result in
_registrationContext
.Results)