示例#1
0
 public void Fail(string reason)
 {
     TestUnit.ForcePredeterminedStatus(TestUnitFlags.Failed, reason);
 }
示例#2
0
 public void Skip(string reason)
 {
     TestUnit.ForcePredeterminedStatus(TestUnitFlags.Skip, reason);
 }
示例#3
0
 public void Pending(string reason)
 {
     TestUnit.ForcePredeterminedStatus(TestUnitFlags.Pending, reason);
 }
示例#4
0
 public void Pass(string message)
 {
     TestUnit.ForcePredeterminedStatus(TestUnitFlags.PassExplicitly, message);
 }