using System;

namespace QC.QTMDotNetKernelInterface;

[AttributeUsage(AttributeTargets.Method)]
public class QTMTest : Attribute
{
	private bool isQTMTest = true;

	private string description = "";

	private string errorCode = "";

	private bool isSetupTest;

	private bool isTearDownTest;

	private bool canAddToTestPlan;

	private bool isManual;

	public bool IsQTMTest
	{
		get
		{
			return isQTMTest;
		}
		set
		{
			isQTMTest = value;
		}
	}

	public string Description
	{
		get
		{
			return description;
		}
		set
		{
			description = value;
		}
	}

	public string ErrorCode
	{
		get
		{
			return errorCode;
		}
		set
		{
			errorCode = value;
		}
	}

	public bool IsSetupTest
	{
		get
		{
			return isSetupTest;
		}
		set
		{
			isSetupTest = value;
		}
	}

	public bool IsTearDownTest
	{
		get
		{
			return isTearDownTest;
		}
		set
		{
			isTearDownTest = value;
		}
	}

	public bool CanAddToTestPlan
	{
		get
		{
			return canAddToTestPlan;
		}
		set
		{
			canAddToTestPlan = value;
		}
	}

	public bool IsManual
	{
		get
		{
			return isManual;
		}
		set
		{
			isManual = value;
		}
	}

	public QTMTest()
	{
	}

	public QTMTest(bool isQTMTest)
	{
		this.isQTMTest = isQTMTest;
	}

	public QTMTest(string description)
	{
		this.description = description;
	}

	public QTMTest(string description, string errorCode)
	{
		this.description = description;
		this.errorCode = errorCode;
	}

	public QTMTest(bool isQTMTest, string description)
	{
		this.isQTMTest = isQTMTest;
		this.description = description;
	}

	public QTMTest(bool isQTMTest, string description, string errorCode)
	{
		this.isQTMTest = isQTMTest;
		this.description = description;
		this.errorCode = errorCode;
	}

	public QTMTest(bool isQTMTest, string description, string errorCode, bool isSetupTest, bool isTearDownTest, bool canAddToTestPlan)
	{
		this.isQTMTest = isQTMTest;
		this.description = description;
		this.errorCode = errorCode;
		this.isSetupTest = isSetupTest;
		this.isTearDownTest = isTearDownTest;
		this.canAddToTestPlan = canAddToTestPlan;
	}

	public QTMTest(bool isQTMTest, string description, string errorCode, bool isSetupTest, bool isTearDownTest, bool canAddToTestPlan, bool isManual)
	{
		this.isQTMTest = isQTMTest;
		this.description = description;
		this.errorCode = errorCode;
		this.isSetupTest = isSetupTest;
		this.isTearDownTest = isTearDownTest;
		this.canAddToTestPlan = canAddToTestPlan;
		this.isManual = isManual;
	}
}
