35 lines
898 B
C#
35 lines
898 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Classes.TestSetups
|
|||
|
|
{
|
|||
|
|
public abstract class TestSetupHelper
|
|||
|
|
{
|
|||
|
|
#region TestSetupNames
|
|||
|
|
private static Dictionary<int, string> TestSetupNames = new Dictionary<int, string>();
|
|||
|
|
public static void ClearTestSetupNames()
|
|||
|
|
{
|
|||
|
|
TestSetupNames.Clear();
|
|||
|
|
}
|
|||
|
|
public static void SetTestSetupName(int id, string name)
|
|||
|
|
{
|
|||
|
|
TestSetupNames[id] = name;
|
|||
|
|
}
|
|||
|
|
public static string GetTestSetupName(int Id)
|
|||
|
|
{
|
|||
|
|
var name = string.Empty;
|
|||
|
|
|
|||
|
|
if (TestSetupNames.ContainsKey(Id))
|
|||
|
|
{
|
|||
|
|
name = TestSetupNames[Id];
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
return name;
|
|||
|
|
}
|
|||
|
|
#endregion TestSetupNames
|
|||
|
|
}
|
|||
|
|
}
|