| Package | Description |
|---|---|
| ch.powerunit |
Main functionnalities of powerunit.
|
| ch.powerunit.rules |
Default implementation or abstract for rule.
|
| ch.powerunit.surefire |
Surefire integration
|
| Modifier and Type | Method and Description |
|---|---|
Statement<TestContext<Object>,Throwable> |
TestRule.computeStatement(Statement<TestContext<Object>,Throwable> inner)
The default implementation of test rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestResultListener.notifyError(TestContext<T> context,
Throwable cause)
Notification of the end (error) of one single test.
|
void |
TestResultListener.notifyFailure(TestContext<T> context,
Throwable cause)
Notification of the end (failure) of one single test.
|
void |
TestResultListener.notifySkipped(TestContext<T> context)
Notification of the end (skipped) of one single test.
|
void |
TestResultListener.notifyStart(TestContext<T> context)
Notification of the start of one single test.
|
void |
TestResultListener.notifySuccess(TestContext<T> context)
Notification of the end (success) of one single test.
|
| Modifier and Type | Method and Description |
|---|---|
Statement<TestContext<Object>,Throwable> |
TestRule.computeStatement(Statement<TestContext<Object>,Throwable> inner)
The default implementation of test rule.
|
| Modifier and Type | Method and Description |
|---|---|
TestContext<Object> |
TestContextRule.getTestContext()
Retrieve the test context object.
|
| Modifier and Type | Method and Description |
|---|---|
default Statement<TestContext<Object>,Throwable> |
TestListenerRule.computeStatement(Statement<TestContext<Object>,Throwable> inner) |
| Modifier and Type | Method and Description |
|---|---|
default void |
TestListenerRule.onAssumptionSkip(TestContext<Object> context,
AssumptionError error)
Method used when an assumption error happened.
|
default void |
TestListenerRule.onEnd(TestContext<Object> context)
Method used at the end of the test.
|
default void |
ExternalResource.onEnd(TestContext<Object> context) |
default void |
TestListenerRule.onError(TestContext<Object> context,
Throwable error)
Method used when an error happened.
|
default void |
TestListenerRule.onFailure(TestContext<Object> context,
AssertionError af)
Method used when a failure happened.
|
default void |
TestListenerRule.onStart(TestContext<Object> context)
Method used at the start of the test.
|
void |
TestContextRule.onStart(TestContext<Object> context) |
default void |
ExternalResource.onStart(TestContext<Object> context) |
| Modifier and Type | Method and Description |
|---|---|
default Statement<TestContext<Object>,Throwable> |
TestListenerRule.computeStatement(Statement<TestContext<Object>,Throwable> inner) |
| Modifier and Type | Method and Description |
|---|---|
void |
PowerUnitProviderListener.notifyError(TestContext<T> context,
Throwable cause) |
void |
PowerUnitProviderListener.notifyFailure(TestContext<T> context,
Throwable cause) |
void |
PowerUnitProviderListener.notifySkipped(TestContext<T> context) |
void |
PowerUnitProviderListener.notifyStart(TestContext<T> context) |
void |
PowerUnitProviderListener.notifySuccess(TestContext<T> context) |
Copyright © 2014. All rights reserved.