2 writes to Errors
Microsoft.Build.Tasks.UnitTests (1)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
3063
e.
Errors
= 0;
Microsoft.Build.UnitTests.Shared (1)
MockEngine.cs (1)
90
++
Errors
;
48 references to Errors
Microsoft.Build.Tasks.UnitTests (48)
Copy_Tests.cs (7)
874
Assert.Equal(2, ((MockEngine)t.BuildEngine).
Errors
);
1244
Assert.Equal(1, engine.
Errors
);
1291
Assert.Equal(1, engine.
Errors
);
1338
Assert.Equal(1, engine.
Errors
);
1389
Assert.Equal(2, engine.
Errors
); // retries failed and the actual failure
1511
Assert.Equal(1, engine.
Errors
);
1554
Assert.Equal(1, engine.
Errors
);
CreateItem_Tests.cs (1)
310
engine.
Errors
.ShouldBe(1);
Exec_Tests.cs (14)
179
Assert.Equal(0, ((MockEngine)exec.BuildEngine).
Errors
);
196
mockEngine.
Errors
.ShouldBe(0);
211
Assert.Equal(0, ((MockEngine)exec.BuildEngine).
Errors
);
655
Assert.Equal(3, e.
Errors
);
677
Assert.Equal(0, e.
Errors
);
686
Assert.Equal(2, e.
Errors
);
708
Assert.Equal(0, e.
Errors
);
718
Assert.Equal(0, e.
Errors
);
735
Assert.Equal(0, ((MockEngine)exec.BuildEngine).
Errors
);
752
Assert.Equal(3, ((MockEngine)exec.BuildEngine).
Errors
);
768
Assert.Equal(0, ((MockEngine)exec.BuildEngine).
Errors
);
785
Assert.Equal(0, ((MockEngine)exec.BuildEngine).
Errors
);
802
Assert.Equal(2, ((MockEngine)exec.BuildEngine).
Errors
);
815
Assert.Equal(2, ((MockEngine)exec.BuildEngine).
Errors
);
GenerateBindingRedirects_Tests.cs (3)
176
redirectResults.Engine.
Errors
.ShouldBe(0); // "Unexpected errors. Engine log: " + redirectResults.Engine.Log
202
redirectResults.Engine.
Errors
.ShouldBe(0);
232
redirectResults.Engine.
Errors
.ShouldBe(0);
GetInstalledSDKLocations_Tests.cs (3)
206
Assert.Equal(1, engine.
Errors
);
225
Assert.Equal(1, engine.
Errors
);
244
Assert.Equal(1, engine.
Errors
);
ResolveNonMSBuildProjectOutput_Tests.cs (2)
347
Assert.Equal(0, engine.
Errors
);
354
Assert.Equal(1, engine.
Errors
);
ResolveSDKReference_Tests.cs (15)
384
Assert.Equal(0, engine.
Errors
);
411
Assert.Equal(0, engine.
Errors
);
615
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
670
Assert.Equal(1, engine.
Errors
);
728
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
783
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
838
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
893
Assert.Equal(1, engine.
Errors
);
951
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
1005
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
1060
Assert.Equal(0, engine.
Errors
); // "Expected no errors"
2868
Assert.Equal(1, engine.
Errors
);
2966
Assert.Equal(1, engine.
Errors
);
3078
Assert.Equal(0, engine.
Errors
);
3177
Assert.Equal(1, engine.
Errors
);
ResourceHandling\GenerateResource_Tests.cs (1)
3722
Assert.Equal(1, ((MockEngine)t.BuildEngine).
Errors
);
RoslynCodeTaskFactory_Tests.cs (2)
785
buildEngine.
Errors
.ShouldBe(1);
809
buildEngine.
Errors
.ShouldBe(0, buildEngine.Log);