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