Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public TestFailedException(UnitTestOutcome outcome, string errorMessage, StackTraceInformation stackTraceInformation)
     : this(outcome, errorMessage, stackTraceInformation, null)
 {
 }