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$
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds aTestto the suiteintReturns the number of child testsTest[]Returns this suite'sTest.voidremoveTest(Test test) Removes aTestfrom the suite
-
Method Details
-
addTest
Adds aTestto the suite -
removeTest
Removes aTestfrom 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
-