public final class TestBlockRunner
extends java.lang.Object
| Constructor and Description |
|---|
TestBlockRunner(TestBlock testBlock,
java.util.List<TestBlockRunner> parents,
Reporter reporter)
Constructs a new test block runner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(TestBlockRunner runner)
Adds a runner for a child test block.
|
void |
run()
Runs all the tests in this test block and any nested test blocks.
|
public TestBlockRunner(TestBlock testBlock, java.util.List<TestBlockRunner> parents, Reporter reporter)
testBlock - The test block.parents - The parent runners of this runner.reporter - The reporter.public void addChild(TestBlockRunner runner)
runner - A runner.public void run()