using System.Collections.Generic;

namespace QSPR3xttParse;

public class TestInfo
{
	private string m_testName;

	private string m_realName;

	private List<TestParameter> mTestParameters;

	public TestInfo(string testName, string realName)
	{
		m_testName = testName;
		m_realName = realName;
		mTestParameters = new List<TestParameter>();
	}

	public void AddParameter(ref TestParameter param)
	{
		mTestParameters.Add(param);
	}

	public void GetParameter(int index, ref TestParameter param)
	{
		if (index < mTestParameters.Count)
		{
			param = mTestParameters[index];
		}
	}

	public int GetNumOfTestParameter()
	{
		return mTestParameters.Count;
	}

	public string GetTestName()
	{
		return m_testName;
	}

	public string GetRealName()
	{
		return m_realName;
	}
}
