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); }
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); }