A B C D G I M N O R S T 
All Classes All Packages

A

addListener(DropwizardAppRule.ServiceListener<C>) - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
after() - Method in class io.dropwizard.testing.junit.DAOTestRule
 
after() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
after() - Method in class io.dropwizard.testing.junit.DropwizardClientRule
 
apply(Statement, Description) - Method in class io.dropwizard.testing.junit.MockitoTestRule
 
apply(Statement, Description) - Method in class io.dropwizard.testing.junit.ResourceTestRule
 

B

baseUri() - Method in class io.dropwizard.testing.junit.DropwizardClientRule
 
before() - Method in class io.dropwizard.testing.junit.DAOTestRule
 
before() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
before() - Method in class io.dropwizard.testing.junit.DropwizardClientRule
 
build() - Method in class io.dropwizard.testing.junit.DAOTestRule.Builder
 
build() - Method in class io.dropwizard.testing.junit.ResourceTestRule.Builder
Builds a ResourceTestRule with a configured Jersey testing environment.
builder() - Static method in class io.dropwizard.testing.junit.ResourceTestRule
Creates a new Jersey testing environment builder for ResourceTestRule
Builder() - Constructor for class io.dropwizard.testing.junit.DAOTestRule.Builder
 
Builder() - Constructor for class io.dropwizard.testing.junit.ResourceTestRule.Builder
 

C

client() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
Returns a new HTTP Jersey Client for performing HTTP requests against the tested Dropwizard server.
client() - Method in class io.dropwizard.testing.junit.ResourceTestRule
Returns the pre-configured Client for this test.
clientBuilder() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 

D

DAOTestRule - Class in io.dropwizard.testing.junit
A JUnit rule for testing DAOs and Hibernate entities.
DAOTestRule.Builder - Class in io.dropwizard.testing.junit
 
DropwizardAppRule<C extends io.dropwizard.core.Configuration> - Class in io.dropwizard.testing.junit
A JUnit rule for starting and stopping your application at the start and end of a test class.
DropwizardAppRule(DropwizardTestSupport<C>) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, String, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, String, Function<Application<C>, Command>, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, ConfigurationSourceProvider, String, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, ConfigurationSourceProvider, String, Function<Application<C>, Command>, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, ConfigurationSourceProvider, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, Optional<String>, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, String, Optional<String>, Function<Application<C>, Command>, ConfigOverride...) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
 
DropwizardAppRule(Class<? extends Application<C>>, C) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
Alternate constructor that allows specifying exact Configuration object to use, instead of reading a resource and binding it as Configuration object.
DropwizardAppRule(Class<? extends Application<C>>, C, Function<Application<C>, Command>) - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule
Alternate constructor that allows specifying the command the Dropwizard application is started with.
DropwizardAppRule.ServiceListener<T extends io.dropwizard.core.Configuration> - Class in io.dropwizard.testing.junit
 
DropwizardClientRule - Class in io.dropwizard.testing.junit
Test your HTTP client code by writing a JAX-RS test double class and let this rule start and stop a Dropwizard application containing your doubles.
DropwizardClientRule(Object...) - Constructor for class io.dropwizard.testing.junit.DropwizardClientRule
 

G

getAdminPort() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getApplication() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getClientConfigurator() - Method in class io.dropwizard.testing.junit.ResourceTestRule
 
getConfiguration() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getEnvironment() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getEnvironment() - Method in class io.dropwizard.testing.junit.DropwizardClientRule
 
getJerseyTest() - Method in class io.dropwizard.testing.junit.ResourceTestRule
Returns the underlying JerseyTest.
getLocalPort() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getObjectMapper() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getObjectMapper() - Method in class io.dropwizard.testing.junit.DropwizardClientRule
 
getObjectMapper() - Method in class io.dropwizard.testing.junit.ResourceTestRule
 
getPort(int) - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getSessionFactory() - Method in class io.dropwizard.testing.junit.DAOTestRule
Returns the current active session factory for injecting to DAOs.
getTestSupport() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
getValidator() - Method in class io.dropwizard.testing.junit.ResourceTestRule
 

I

inTransaction(Runnable) - Method in class io.dropwizard.testing.junit.DAOTestRule
Performs an action in a transaction
inTransaction(Callable<T>) - Method in class io.dropwizard.testing.junit.DAOTestRule
Performs a call in a transaction
io.dropwizard.testing.junit - package io.dropwizard.testing.junit
 

M

manage(Managed) - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
MockitoTestRule - Class in io.dropwizard.testing.junit
A crude hack to allow using MockitoRule with RuleChain for a defined run order.
MockitoTestRule(Object, MockitoRule) - Constructor for class io.dropwizard.testing.junit.MockitoTestRule
Create a new adapter for a MockitoRule instance.

N

newApplication() - Method in class io.dropwizard.testing.junit.DropwizardAppRule
 
newBuilder() - Static method in class io.dropwizard.testing.junit.DAOTestRule
Creates a new builder for DAOTestRule, which allows to customize a SessionFactory by different parameters.

O

onRun(T, Environment, DropwizardAppRule<T>) - Method in class io.dropwizard.testing.junit.DropwizardAppRule.ServiceListener
 
onStop(DropwizardAppRule<T>) - Method in class io.dropwizard.testing.junit.DropwizardAppRule.ServiceListener
 

R

ResourceTestRule - Class in io.dropwizard.testing.junit
A JUnit TestRule for testing Jersey resources.
ResourceTestRule.Builder - Class in io.dropwizard.testing.junit
A ResourceTestRule builder which enables configuration of a Jersey testing environment.

S

ServiceListener() - Constructor for class io.dropwizard.testing.junit.DropwizardAppRule.ServiceListener
 

T

target(String) - Method in class io.dropwizard.testing.junit.ResourceTestRule
Creates a web target to be sent to the resource under testing.
A B C D G I M N O R S T 
All Classes All Packages