public interface TestSuite extends Test
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.Modifier and Type | Method and Description |
---|---|
void |
addTest(Test test)
Adds a
Test to the suite |
int |
getChildrenCount()
Returns the number of child tests
|
Test[] |
getChildrenTests()
Returns this suite's
Test . |
void |
removeTest(Test test)
Removes a
Test from the suite |
void addTest(Test test)
Test
to the suitevoid removeTest(Test test)
Test
from the suiteTest[] getChildrenTests()
Test
. This should
not return a reference to any internal structure
held by the TestSuite
. For example, if
an internal array is used, this shoudl return
a copy of that array.int getChildrenCount()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.