1 write to _registrationContext
Microsoft.Build.BuildCheck.UnitTests (1)
DoubleWritesAnalyzer_Tests.cs (1)
25
_registrationContext
= new MockBuildCheckRegistrationContext();
8 references to _registrationContext
Microsoft.Build.BuildCheck.UnitTests (8)
DoubleWritesAnalyzer_Tests.cs (8)
26
_check.RegisterActions(
_registrationContext
);
44
_registrationContext
.TriggerTaskInvocationAction(MakeTaskInvocationData("Copy", new Dictionary<string, TaskInvocationCheckData.TaskParameter>
49
_registrationContext
.TriggerTaskInvocationAction(MakeTaskInvocationData("Copy", new Dictionary<string, TaskInvocationCheckData.TaskParameter>
55
_registrationContext
.Results.Count.ShouldBe(1);
56
_registrationContext
.Results[0].CheckRule.Id.ShouldBe("BC0102");
67
_registrationContext
.TriggerTaskInvocationAction(MakeTaskInvocationData(taskName, new Dictionary<string, TaskInvocationCheckData.TaskParameter>
76
_registrationContext
.Results.Count.ShouldBe(4);
77
_registrationContext
.Results.ForEach(result => result.CheckRule.Id.ShouldBe("BC0102"));