using System;
using System.ComponentModel;

namespace QC.QSPRTreeSchemaLibrary;

[Serializable]
public class DotNetTestProperties : TestProperties
{
	private string failString = "False";

	private bool createNewInstance;

	[Description("Regular expression string for the test failure.\nThe method's return value is matched with this string.")]
	[Category("Dot Net Test Settings")]
	public string FailString
	{
		get
		{
			return failString;
		}
		set
		{
			failString = value;
		}
	}

	[Category("Dot Net Test Settings")]
	[Description("If TRUE creates new instance of the class before executing the test.")]
	public bool CreateNewInstance
	{
		get
		{
			return createNewInstance;
		}
		set
		{
			createNewInstance = value;
		}
	}

	[ReadOnly(true)]
	[Category("Dot Net Test Settings")]
	[Description("Required Minimum DLL Version to run this test.")]
	public string MinimumDllVersion { get; set; }

	[Category("Dot Net Test Settings")]
	[Description("Required DLL Name to run this test.")]
	[ReadOnly(true)]
	public string DllName { get; set; }
}
