Beispiel #1
0
        protected RunResultBase Run(TestDefinitionBase test)
        {
            var result = default(RunResultBase);

            if (test is TestDefinition)
            {
                result = Run(test as TestDefinition);
            }
            else if (test is ThreadedTestDefinition)
            {
                result = Run(test as ThreadedTestDefinition);
            }
            return(result);
        }
Beispiel #2
0
 public void Register(TestDefinitionBase test)
 {
     Tests.Add(test);
 }