//
// RuleTestResult.cs
//
// Author:
// Jacob Johnston (jacobj@inchoatethoughts.com)
//
// Copyright (C) 2009 Jacob Johnston
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
namespace ZenLibrary.RuleBase
{
///
/// The result of a rule test.
///
public class RuleTestResult
{
private string resultPath;
private string ruleTestFailedString;
private bool testPassed;
///
/// Creates an instance of RuleTestResult
///
public RuleTestResult()
{
}
///
/// The string to display when the rule test has failed.
///
public string RuleTestFailedString
{
get { return ruleTestFailedString; }
set { ruleTestFailedString = value; }
}
///
/// Gets or sets the value indicating whether the rule test has passed or failed.
///
public bool TestPassed
{
get { return testPassed; }
set { testPassed = value; }
}
///
/// Gets or sets the path of the file tested upon in the case of a failure.
///
public string ResultPath
{
get { return resultPath; }
set { resultPath = value; }
}
}
}