Package | Description |
---|---|
ch.powerunit |
Main functionnalities of powerunit.
|
ch.powerunit.rules |
Default implementation or abstract for rule.
|
Modifier and Type | Method and Description |
---|---|
default Statement<P,T> |
Statement.andThenAlways(Statement<P,T> after)
Aggregate this statement and then the following.
|
default Statement<P,T> |
Statement.andThenOnlySuccess(Statement<P,T> after)
Aggregate this statement and then the following.
|
static <P,T extends Throwable> |
Statement.around(Statement<P,T> internal,
Statement<P,T> before,
Statement<P,T> after)
Build a around statement (do something, then something others, and after
one a third statement, event in case of exception.
|
Statement<TestContext<Object>,Throwable> |
TestRule.computeStatement(Statement<TestContext<Object>,Throwable> inner)
The default implementation of test rule.
|
static <P,T extends Throwable> |
Statement.reflectionMethod(Consumer<Object> method,
Object param)
Build a statement based on a method-
|
static <P,T extends Throwable> |
Statement.reflectionMethod(Object target,
Method method)
Build a statement based on a method-
|
Modifier and Type | Method and Description |
---|---|
default Statement<P,T> |
Statement.andThenAlways(Statement<P,T> after)
Aggregate this statement and then the following.
|
default Statement<P,T> |
Statement.andThenOnlySuccess(Statement<P,T> after)
Aggregate this statement and then the following.
|
static <P,T extends Throwable> |
Statement.around(Statement<P,T> internal,
Statement<P,T> before,
Statement<P,T> after)
Build a around statement (do something, then something others, and after
one a third statement, event in case of exception.
|
static <P,T extends Throwable> |
Statement.around(Statement<P,T> internal,
Statement<P,T> before,
Statement<P,T> after)
Build a around statement (do something, then something others, and after
one a third statement, event in case of exception.
|
static <P,T extends Throwable> |
Statement.around(Statement<P,T> internal,
Statement<P,T> before,
Statement<P,T> after)
Build a around statement (do something, then something others, and after
one a third statement, event in case of exception.
|
Statement<TestContext<Object>,Throwable> |
TestRule.computeStatement(Statement<TestContext<Object>,Throwable> inner)
The default implementation of test rule.
|
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 Statement<TestContext<Object>,Throwable> |
TestListenerRule.computeStatement(Statement<TestContext<Object>,Throwable> inner) |
Copyright © 2015 Powerunit. All rights reserved.