Package org.apache.batik.test
Interface TestSuite
- All Superinterfaces:
Test
- All Known Implementing Classes:
AbstractTestSuite
,DefaultTestSuite
,DummyValidTestSuite
,SelfContainedSVGOnLoadTestValidator
,SVGRenderingAccuracyTestValidator
,XMLTestSuiteRunnerValidator
A
TestSuite
is a composite test, that is, a test
made of multiple children Test
cases. Running a
TestSuite
will simply run the children test cases.- Version:
- $Id: TestSuite.java 1733416 2016-03-03 07:07:13Z gadams $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds aTest
to the suiteint
Returns the number of child testsTest[]
Returns this suite'sTest
.void
removeTest
(Test test) Removes aTest
from the suite
-
Method Details
-
addTest
Adds aTest
to the suite -
removeTest
Removes aTest
from the suite -
getChildrenTests
Test[] getChildrenTests()Returns this suite'sTest
. This should not return a reference to any internal structure held by theTestSuite
. For example, if an internal array is used, this shoudl return a copy of that array. -
getChildrenCount
int getChildrenCount()Returns the number of child tests
-