A B C D E F G H I J L M P R S T U 

A

ApplicationUnderTest - Interface in ratpack.test
Provides the address of the running application.

B

BaseDirBuilder - Interface in ratpack.test.embed
 
body(byte[], String) - Method in interface ratpack.test.handling.InvocationBuilder
 
body(String, String) - Method in interface ratpack.test.handling.InvocationBuilder
 
build() - Method in interface ratpack.test.embed.BaseDirBuilder
Build the baseDir.
build() - Method in class ratpack.test.embed.PathBaseDirBuilder
Build the baseDir.

C

close() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
Stops the server returned by EmbeddedApplicationSupport.getServer().
close() - Method in class ratpack.test.embed.PathBaseDirBuilder
If the path backing this build is not from the default file system, its file system will be closed.
close() - Method in class ratpack.test.ServerBackedApplicationUnderTest
 
create() - Method in class ratpack.test.RatpackMainServerFactory
 
createLaunchConfig() - Method in class ratpack.test.embed.LaunchConfigEmbeddedApplication
Creates a launch config that defines the application.
createServer() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
Subclass implementation hook for creating the server implementation.
createServer() - Method in class ratpack.test.embed.LaunchConfigEmbeddedApplication
Creates a server using RatpackServerBuilder.build(LaunchConfig), using the launch config returned by LaunchConfigEmbeddedApplication.createLaunchConfig().

D

dir(String) - Method in interface ratpack.test.embed.BaseDirBuilder
Creates a directory at the given path within the base dir.
dir(String) - Method in class ratpack.test.embed.PathBaseDirBuilder
Creates a directory at the given path within the base dir.

E

EmbeddedApplication - Interface in ratpack.test.embed
An application created and used at runtime, useful for functionally testing subsets of functionality.
EmbeddedApplicationSupport - Class in ratpack.test.embed
A support implementation that handles the file system and ApplicationUnderTest requirements.
EmbeddedApplicationSupport() - Constructor for class ratpack.test.embed.EmbeddedApplicationSupport
 

F

file(String) - Method in interface ratpack.test.embed.BaseDirBuilder
Returns a path for the given path within the base dir.
file(String, String) - Method in interface ratpack.test.embed.BaseDirBuilder
Creates a file with the given string content at the given path within the base dir.
file(String) - Method in class ratpack.test.embed.PathBaseDirBuilder
Returns a path for the given path within the base dir.
file(String, String) - Method in class ratpack.test.embed.PathBaseDirBuilder
Creates a file with the given string content at the given path within the base dir.

G

getAddress() - Method in interface ratpack.test.ApplicationUnderTest
The address of the application under test, which is guaranteed to be accepting requests.
getAddress() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
The address of the application under test, which is guaranteed to be accepting requests.
getAddress() - Method in class ratpack.test.ServerBackedApplicationUnderTest
 
getBodyBytes() - Method in interface ratpack.test.handling.Invocation
 
getBodyText() - Method in interface ratpack.test.handling.Invocation
 
getClientError() - Method in interface ratpack.test.handling.Invocation
 
getException() - Method in interface ratpack.test.handling.Invocation
 
getHeaders() - Method in interface ratpack.test.handling.Invocation
 
getSentFile() - Method in interface ratpack.test.handling.Invocation
 
getServer() - Method in interface ratpack.test.embed.EmbeddedApplication
The server for the application.
getServer() - Method in class ratpack.test.embed.EmbeddedApplicationSupport
The server.
getStatus() - Method in interface ratpack.test.handling.Invocation
 

H

header(String, String) - Method in interface ratpack.test.handling.InvocationBuilder
 

I

Invocation - Interface in ratpack.test.handling
Represents the result of invoking a handler.
InvocationBuilder - Interface in ratpack.test.handling
Builds the context fot the invocation of a Handler (for unit testing handler implementations).
invocationBuilder() - Static method in class ratpack.test.UnitTest
Create an invocation builder, for unit testing a Handler.
InvocationTimeoutException - Exception in ratpack.test.handling
 
InvocationTimeoutException(Invocation, int) - Constructor for exception ratpack.test.handling.InvocationTimeoutException
 
invoke(Handler) - Method in interface ratpack.test.handling.InvocationBuilder
 
invoke(Handler, Action<? super InvocationBuilder>) - Static method in class ratpack.test.UnitTest
Unit test a Handler.
isCalledNext() - Method in interface ratpack.test.handling.Invocation
 
isSentResponse() - Method in interface ratpack.test.handling.Invocation
 

J

JarFileBaseDirBuilder - Class in ratpack.test.embed
A BaseDirBuilder implementation that uses a Jar file as the base.
JarFileBaseDirBuilder(File) - Constructor for class ratpack.test.embed.JarFileBaseDirBuilder
 

L

LaunchConfigEmbeddedApplication - Class in ratpack.test.embed
A supporting implementation of EmbeddedApplication that starts a server based on a subclass provided LaunchConfig.
LaunchConfigEmbeddedApplication() - Constructor for class ratpack.test.embed.LaunchConfigEmbeddedApplication
 

M

method(String) - Method in interface ratpack.test.handling.InvocationBuilder
 

P

PathBaseDirBuilder - Class in ratpack.test.embed
A BaseDirBuilder that is based on an initial Path.
PathBaseDirBuilder(File) - Constructor for class ratpack.test.embed.PathBaseDirBuilder
Constructor.
PathBaseDirBuilder(Path) - Constructor for class ratpack.test.embed.PathBaseDirBuilder
Constructor.

R

ratpack.test - package ratpack.test
 
ratpack.test.embed - package ratpack.test.embed
Support for creating embedded applications at test time, for testing Ratpack features and extensions.
ratpack.test.handling - package ratpack.test.handling
 
RatpackMainApplicationUnderTest - Class in ratpack.test
 
RatpackMainApplicationUnderTest() - Constructor for class ratpack.test.RatpackMainApplicationUnderTest
 
RatpackMainApplicationUnderTest(Map<String, String>) - Constructor for class ratpack.test.RatpackMainApplicationUnderTest
 
RatpackMainApplicationUnderTest(RatpackMain, Map<String, String>) - Constructor for class ratpack.test.RatpackMainApplicationUnderTest
 
RatpackMainServerFactory - Class in ratpack.test
 
RatpackMainServerFactory() - Constructor for class ratpack.test.RatpackMainServerFactory
 
RatpackMainServerFactory(Map<String, String>) - Constructor for class ratpack.test.RatpackMainServerFactory
 
RatpackMainServerFactory(RatpackMain, Map<String, String>) - Constructor for class ratpack.test.RatpackMainServerFactory
 
register(Object) - Method in interface ratpack.test.handling.InvocationBuilder
 
rendered(Class<T>) - Method in interface ratpack.test.handling.Invocation
 
responseHeader(String, String) - Method in interface ratpack.test.handling.InvocationBuilder
 

S

ServerBackedApplicationUnderTest - Class in ratpack.test
 
ServerBackedApplicationUnderTest(Factory<RatpackServer>) - Constructor for class ratpack.test.ServerBackedApplicationUnderTest
 
stop() - Method in class ratpack.test.ServerBackedApplicationUnderTest
 

T

timeout(int) - Method in interface ratpack.test.handling.InvocationBuilder
 

U

UnitTest - Class in ratpack.test
 
UnitTest() - Constructor for class ratpack.test.UnitTest
 
uri(String) - Method in interface ratpack.test.handling.InvocationBuilder
 
A B C D E F G H I J L M P R S T U