Package | Description |
---|---|
ratpack.groovy.test.handling | |
ratpack.test.handling |
Test fixtures for exercising
Handler implementations without
start a full EmbeddedApp . |
Modifier and Type | Method and Description |
---|---|
static HandlingResult |
GroovyRequestFixture.handle(Action<? super Chain> handlers,
Closure<?> closure)
Unit test a chain of
handlers . |
static HandlingResult |
GroovyRequestFixture.handle(Handler handler,
Closure<?> closure)
Unit test a
Handler . |
Modifier and Type | Method and Description |
---|---|
static HandlingResult |
RequestFixture.handle(Action<? super Chain> chainAction,
Action<? super RequestFixture> requestFixtureAction)
Unit test a
Handler chain. |
HandlingResult |
RequestFixture.handle(Handler handler)
Invokes the given handler with a newly created
Context based on the state of this fixture. |
static HandlingResult |
RequestFixture.handle(Handler handler,
Action<? super RequestFixture> action)
Unit test a single
Handler . |
HandlingResult |
RequestFixture.handleChain(Action<? super Chain> chainAction)
Similar to
RequestFixture.handle(Handler) , but for testing a handler chain. |
Constructor and Description |
---|
HandlerTimeoutException(HandlingResult handlingResult,
int timeoutSecs)
Constructor.
|