/** * Filters this test suite to only run the test case with the specified * name. * * Convenience method for {@link #setFilter(List)}. * * @param testCaseName * @throws TestCaseNotFoundException * If a test case with that name was not found. */ public void setFilter(String testCaseName) throws TestCaseNotFoundException { List<String> tempList = new ArrayList<String>(); tempList.add(testCaseName); setFilter(tempList); }
if (testCaseNames.size() > 0) { try { suite.setFilter(testCaseNames); } catch (TestCaseNotFoundException e1) {