public static class XMLTestSuiteRunner.IdBasedTestFilter extends java.lang.Object implements TestFilter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
ids |
protected java.util.Set |
unmatchedIds |
Constructor and Description |
---|
IdBasedTestFilter(java.lang.String[] ids) |
Modifier and Type | Method and Description |
---|---|
Test |
filter(Test t)
Accept a test if one of the ids is found (i.e., an
exact match or a substring) in the
Test 's
qualified id. |
void |
filterTestSuite(TestSuite ts)
Remove children
Test instances from the TestSuite
if they are filtered out. |
protected boolean |
isRequestedId(java.lang.String id) |
java.lang.String |
traceUnusedIds() |
public java.lang.String traceUnusedIds()
public void filterTestSuite(TestSuite ts)
Test
instances from the TestSuite
if they are filtered out.public Test filter(Test t)
Test
's
qualified id.
TestSuite
s are accepted if they have children and
rejected if they have none.filter
in interface TestFilter
protected boolean isRequestedId(java.lang.String id)