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); 42_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 52_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 61_registrationContext.Results.Count.ShouldBe(0); 71_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 79_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 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) 116_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 121_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 126_registrationContext.TriggerEvaluatedPropertiesAction(MakeEvaluatedPropertiesAction( 131_registrationContext.Results.Count.ShouldBe(4); // 4 reports for two pairs of project: (1, 2) and (1, 3). 132foreach (var result in _registrationContext.Results)