A B C G N R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- after() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- after() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyHooksRule
- apply(Statement, Description) - Method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
B
- before() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- before() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyHooksRule
C
- check(String, String) - Method in interface ru.vyarus.dropwizard.guice.test.StartupErrorRule.AfterExitAssertion
-
Called after system exit call to perform custom assertions.
- checkAfterExit(StartupErrorRule.AfterExitAssertion) - Method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
In junit it is impossible to use assertion lines after
System.exit()call. - create() - Static method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
Use with spock tests or when no assertions required after system exit call.
- create(StartupErrorRule.AfterExitAssertion) - Static method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
This is useful for junit tests, because there is no other way to check anything after exit call.
G
- getApplication() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- getBean(Class<T>) - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- getConfiguration() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- getEnvironment() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- getError() - Method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
Dropwizard exception will be presented here.
- getIndicatorExceptionType() - Method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
Useful only for spock tests because in junit rule can intercept this exception implicitly.
- getInjector() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- getOutput() - Method in class ru.vyarus.dropwizard.guice.test.StartupErrorRule
-
NOTE: useful only for spock tests.
- GuiceyAppRule<C extends io.dropwizard.Configuration> - Class in ru.vyarus.dropwizard.guice.test
-
A JUnit rule for starting and stopping your guice application at the start and end of a test class.
- GuiceyAppRule(Class<? extends Application<C>>, String, ConfigOverride...) - Constructor for class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
- GuiceyHooksRule - Class in ru.vyarus.dropwizard.guice.test
-
Junit rule for changing application configuration (remove some components or register test specific (e.g. mocks)).
- GuiceyHooksRule(GuiceyConfigurationHook...) - Constructor for class ru.vyarus.dropwizard.guice.test.GuiceyHooksRule
N
- newApplication() - Method in class ru.vyarus.dropwizard.guice.test.GuiceyAppRule
R
- ru.vyarus.dropwizard.guice.test - package ru.vyarus.dropwizard.guice.test
S
- StartupErrorRule - Class in ru.vyarus.dropwizard.guice.test
-
Dropwizard exit with code 1 in case of exception during command run.
- StartupErrorRule.AfterExitAssertion - Interface in ru.vyarus.dropwizard.guice.test
-
Interface implementation may be registered to check assertions after system exit.
All Classes All Packages