1 // ****************************************************************
2 // This is free software licensed under the NUnit license. You
3 // may obtain a copy of the license as well as information regarding
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.
5 // ****************************************************************
13 /// TestCaseResult represents the result of a test case execution
16 public class TestCaseResult
: TestResult
19 /// Construct a result for a test case
21 /// <param name="testCase">The test case for which this is a result</param>
22 public TestCaseResult(TestInfo testCase
)
23 : base(testCase
, testCase
.TestName
.FullName
) { }
26 /// Construct a result from a string - used for tests
28 /// <param name="testCaseString"></param>
29 public TestCaseResult(string testCaseString
)
30 : base(null, testCaseString
) { }
33 /// Accept a ResultVisitor
35 /// <param name="visitor">The visitor to accept</param>
36 public override void Accept(ResultVisitor visitor
)