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