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"); 94foreach (string path in _registrationContext.Results[0].MessageArgs) 98foreach (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). 131foreach (var result in _registrationContext.Results)