예제 #1
0
 private static void CheckTrueTest(DefaultTestExecutionInfo test, string name)
 {
     Assert.AreEqual(name, test.Name);
     Assert.AreEqual("True", test.Result);
     Assert.IsNull(test.UnexpectedException);
     Assert.IsNotNull(test.RunTime);
 }
예제 #2
0
 private static void CheckFalseTest(DefaultTestExecutionInfo test, string name,
                                    Type exceptionType)
 {
     Assert.AreEqual(name, test.Name);
     Assert.AreEqual("False", test.Result);
     Assert.AreEqual(exceptionType, test.UnexpectedException.GetType());
     Assert.IsNotNull(test.RunTime);
 }