| Package | Description |
|---|---|
| ratpack.groovy.test | |
| ratpack.test | |
| ratpack.test.handling |
| Modifier and Type | Method and Description |
|---|---|
static HandlingResult |
GroovyUnitTest.handle(Action<? super Chain> handlers,
Closure<?> closure)
Unit test a chain of
handlers. |
static HandlingResult |
GroovyUnitTest.handle(Handler handler,
Closure<?> closure)
Unit test a
Handler. |
| Modifier and Type | Method and Description |
|---|---|
static HandlingResult |
UnitTest.handle(Action<? super Chain> chainAction,
Action<? super RequestFixture> requestFixtureAction)
Unit test a
Handler chain. |
static HandlingResult |
UnitTest.handle(Handler handler,
Action<? super RequestFixture> action)
Unit test a single
Handler. |
| Modifier and Type | Method and Description |
|---|---|
HandlingResult |
RequestFixture.handle(Action<? super Chain> chainAction)
Similar to
RequestFixture.handle(ratpack.handling.Handler), but for testing a handler chain. |
HandlingResult |
RequestFixtureAction.handle(Action<? super Chain> chainAction)
Similar to
RequestFixture.handle(ratpack.handling.Handler), but for testing a handler chain. |
HandlingResult |
RequestFixture.handle(Handler handler)
Invokes the given handler with a newly created
Context based on the state of this fixture. |
HandlingResult |
RequestFixtureAction.handle(Handler handler)
Invokes the given handler with a newly created
Context based on the state of this fixture. |