public class GroupedTest
extends junit.framework.TestSuite
implements org.junit.runner.manipulation.Filterable
TestSuite that requires some set up and tear down for executing nested tests.
The failure in the set up or tear down will be reported as a failure.
| Constructor and Description |
|---|
GroupedTest() |
| Modifier and Type | Method and Description |
|---|---|
int |
countTestCases() |
void |
filter(org.junit.runner.manipulation.Filter filter) |
void |
run(junit.framework.TestResult result) |
protected void |
runGroupedTests(junit.framework.TestResult result)
Executes the nested tests.
|
protected void |
setUp() |
protected void |
tearDown() |
public int countTestCases()
countTestCases in interface junit.framework.TestcountTestCases in class junit.framework.TestSuitepublic void run(junit.framework.TestResult result)
run in interface junit.framework.Testrun in class junit.framework.TestSuiteprotected void runGroupedTests(junit.framework.TestResult result)
throws Exception
Exceptionpublic void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
filter in interface org.junit.runner.manipulation.Filterableorg.junit.runner.manipulation.NoTestsRemainExceptionCopyright © 2004–2019. All rights reserved.