public static class XMLTestSuiteRunner.IdBasedTestFilter extends Object implements TestFilter
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
ids |
protected Set |
unmatchedIds |
| Constructor and Description |
|---|
IdBasedTestFilter(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(String id) |
String |
traceUnusedIds() |
public IdBasedTestFilter(String[] ids)
public 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.
TestSuites are accepted if they have children and
rejected if they have none.filter in interface TestFilterprotected boolean isRequestedId(String id)
Copyright © 2000–2021 Apache Software Foundation. All rights reserved.