public static bool IncludeTest(TestAttributeBase test) { if (s_selectedTests == null || s_selectedTests.Count == 0) { return(true); // user has no selection - run all } else { return(s_selectedTests.Contains(test.Title)); } }
public TestBase(TestAttributeBase attr, MethodInfo testMethodInfo, Type type, List<MethodInfo> setupMethods, List<MethodInfo> cleanupMethods) { _attr = attr; _testMethod = testMethodInfo; _type = type; _setupMethods = setupMethods; _cleanupMethods = cleanupMethods; }
public TestBase(TestAttributeBase attr, MethodInfo testMethodInfo, Type type, List <MethodInfo> setupMethods, List <MethodInfo> cleanupMethods) { _attr = attr; _testMethod = testMethodInfo; _type = type; _setupMethods = setupMethods; _cleanupMethods = cleanupMethods; }
public static bool IncludeTest(TestAttributeBase test) { if (s_selectedTests == null || s_selectedTests.Count == 0) return true; // user has no selection - run all else return s_selectedTests.Contains(test.Title); }