2
// Copyright (C) 2002. James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. All Rights Reserved.
7
using System.Reflection;
11
/// Summary description for TestCase.
13
public class NormalTestCase : TemplateTestCase
15
public NormalTestCase(object fixture, MethodInfo method) : base(fixture, method)
18
protected internal override void ProcessNoException(TestCaseResult testResult)
23
protected internal override void ProcessException(Exception exception, TestCaseResult testResult)
25
if(exception.GetType().IsAssignableFrom(typeof(AssertionException)))
27
AssertionException error = (AssertionException)exception;
28
testResult.Failure(error.Message, error.StackTrace);
32
testResult.Failure(exception.Message, exception.StackTrace);