Exemple #1
0
 public void AssertUnsuccessfulBuild()
 {
     Assert.Equal(BuildResultCode.Failure, Result.OverallResult);
     Assert.True(ErrorEvents.Any(), ErrorEvents.Select(e => e.Message).FirstOrDefault());
 }
Exemple #2
0
 public void AssertSuccessfulBuild()
 {
     Assert.False(ErrorEvents.Any(), ErrorEvents.Select(e => e.Message).FirstOrDefault());
     this.AssertNoTargetsExecutedTwice();
     Assert.Equal(BuildResultCode.Success, Result.OverallResult);
 }