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); }
public void Register(TestDefinitionBase test) { Tests.Add(test); }