public static void run() { foreach (string str in hashtable.Keys) { ITestFixture tf = (ITestFixture)hashtable[str]; tf.run(); } }
public static void run(string tfname) { //System.Console.WriteLine(tfname); foreach (string str in hashtable.Keys) { ITestFixture tf = (ITestFixture)hashtable[str]; //System.Console.WriteLine(tf.GetType().Name); if (tf.GetType().Name.Equals(tfname)) { tf.run(); } } }
public static void registerTest(string key, ITestFixture tf) { hashtable.Add(key, tf); }
public static void run(ITestFixture tf) { run(tf.ToString()); }