public static void SearchForSuitesPS(SearchCmdletBase cmdlet) { IOrderedEnumerable<TestSuite> suites = SearchForSuites(cmdlet); if (suites.Count<TMX.TestSuite>() > 0) { cmdlet.WriteObject(suites, true); } else { cmdlet.WriteObject(null); } }
public static void SearchForTestResultsPS(SearchCmdletBase cmdlet) { IOrderedEnumerable<TestResult> testResults = SearchForTestResults(cmdlet); if (testResults.Count<TMX.TestResult>() > 0) { cmdlet.WriteObject(testResults, true); } else { cmdlet.WriteObject(null); } }
public static void SearchForScenariosPS(SearchCmdletBase cmdlet) { IOrderedEnumerable<TestScenario> scenarios = SearchForScenarios(cmdlet); if (scenarios.Count<TMX.TestScenario>() > 0) { cmdlet.WriteObject(scenarios, true); } else { cmdlet.WriteObject(null); } }