Package org.apache.batik.test.xml
Class XMLTestSuiteRunner.IdBasedTestFilter
java.lang.Object
org.apache.batik.test.xml.XMLTestSuiteRunner.IdBasedTestFilter
- All Implemented Interfaces:
TestFilter
- Enclosing class:
- XMLTestSuiteRunner
Test filter which only accepts tests with ids matching
the ones passed to its constructor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccept a test if one of the ids is found (i.e., an exact match or a substring) in theTest
's qualified id.void
Remove childrenTest
instances from theTestSuite
if they are filtered out.protected boolean
isRequestedId
(String id)
-
Field Details
-
ids
-
unmatchedIds
-
-
Constructor Details
-
IdBasedTestFilter
-
-
Method Details
-
traceUnusedIds
-
filterTestSuite
Remove childrenTest
instances from theTestSuite
if they are filtered out. -
filter
Accept a test if one of the ids is found (i.e., an exact match or a substring) in theTest
's qualified id.TestSuite
s are accepted if they have children and rejected if they have none.- Specified by:
filter
in interfaceTestFilter
-
isRequestedId
-