public final class TestContextRule extends Object implements TestListenerRule
test execution
context from inside a test.| Constructor and Description |
|---|
TestContextRule() |
| Modifier and Type | Method and Description |
|---|---|
TestContext<Object> |
getTestContext()
Retrieve the test context object.
|
void |
onStart(TestContext<Object> context)
Method used at the start of the test.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeStatement, onAssumptionSkip, onEnd, onError, onFailurepublic TestContextRule()
public void onStart(TestContext<Object> context)
TestListenerRuleDefault implementation is to do nothing.
onStart in interface TestListenerRulecontext - the test contextpublic TestContext<Object> getTestContext()
Copyright © 2014. All rights reserved.