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.Test
countTestCases
in class junit.framework.TestSuite
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestSuite
protected void runGroupedTests(junit.framework.TestResult result) throws Exception
Exception
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
filter
in interface org.junit.runner.manipulation.Filterable
org.junit.runner.manipulation.NoTestsRemainException
Copyright © 2004–2022. All rights reserved.