30 references to HaveErrors
Microsoft.Build.CommandLine.UnitTests (26)
CommandLineSwitches_Tests.cs (23)
605
switches.
HaveErrors
().ShouldBeFalse();
615
switches.
HaveErrors
().ShouldBeTrue();
695
switches.
HaveErrors
().ShouldBeFalse();
707
switches.
HaveErrors
().ShouldBeFalse();
719
switches.
HaveErrors
().ShouldBeFalse();
731
switches.
HaveErrors
().ShouldBeFalse();
741
switches.
HaveErrors
().ShouldBeTrue();
910
Assert.False(switchesLeft.
HaveErrors
());
911
Assert.False(switchesRight.
HaveErrors
());
915
Assert.False(switchesLeft.
HaveErrors
());
916
Assert.False(switchesRight.
HaveErrors
());
920
Assert.True(switchesLeft.
HaveErrors
());
921
Assert.False(switchesRight.
HaveErrors
());
925
Assert.True(switchesLeft.
HaveErrors
());
926
Assert.False(switchesRight.
HaveErrors
());
932
Assert.True(switchesLeft.
HaveErrors
());
933
Assert.True(switchesRight.
HaveErrors
());
945
Assert.False(switchesLeft.
HaveErrors
());
946
Assert.False(switchesRight.
HaveErrors
());
951
Assert.True(switchesLeft.
HaveErrors
());
952
Assert.True(switchesRight.
HaveErrors
());
1008
Assert.False(switchesLeft.
HaveErrors
());
1142
Assert.True(switchesLeft.
HaveErrors
());
XMake_Tests.cs (3)
95
switches.
HaveErrors
().ShouldBeFalse();
112
switches.
HaveErrors
().ShouldBeFalse();
131
switches.
HaveErrors
().ShouldBeTrue();
MSBuild (4)
CommandLineSwitches.cs (4)
855
if (!
HaveErrors
())
879
if (
HaveErrors
())
909
if (!
HaveErrors
() && switchesToAppend.
HaveErrors
())