示例#1
0
 public CheckFailed(string context, FailedExpectation[] fails, Exception innerException)
     : base(fails.Select(x => x.Message).Join("\n"), innerException)
 {
     this.Context = context;
     this.Failures = fails;
 }
示例#2
0
 public CheckFailed(FailedExpectation fail, Exception innerException)
     : this(new[] {fail}, innerException)
 {
 }
示例#3
0
 public CheckFailed(string context, FailedExpectation fail, Exception innerException)
     : this(context, new[] { fail }, innerException)
 {
 }