// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************************
namespace NUnit.Core
{
using System;
using System.Text;
///
/// TestCaseResult represents the result of a test case execution
///
[Serializable]
public class TestCaseResult : TestResult
{
///
/// Construct a result for a test case
///
/// The test case for which this is a result
public TestCaseResult(TestInfo testCase)
: base(testCase, testCase.TestName.FullName) { }
///
/// Construct a result from a string - used for tests
///
///
public TestCaseResult(string testCaseString)
: base(null, testCaseString) { }
///
/// Accept a ResultVisitor
///
/// The visitor to accept
public override void Accept(ResultVisitor visitor)
{
visitor.Visit(this);
}
}
}