public TestFailedException(UnitTestOutcome outcome, string errorMessage, StackTraceInformation stackTraceInformation, Exception realException) : base(errorMessage, realException) { Debug.Assert(!string.IsNullOrEmpty(errorMessage), "ErrorMessage should not be empty"); this.Outcome = outcome; this.StackTraceInformation = stackTraceInformation; }
public TestFailedException(UnitTestOutcome outcome, string errorMessage, StackTraceInformation stackTraceInformation) : this(outcome, errorMessage, stackTraceInformation, null) { }