| Class | Description |
|---|---|
| BindingsCollector |
Collects all the bindings from a Guice module, so that Jukito can identify missing
bindings and bind them to mock or instances.
|
| BindingsCollector.BindingInfo |
Information on a binding, used by Jukito to identify provided keys and needed keys.
|
| BindingsCollector.GuiceScopingVisitor |
This visitor collects all information on guice scopes associated to the bindings.
|
| GuiceUtils |
A number of useful static methods to manipulate Guice object.
|
| InjectedAfterStatements |
A
Statement invoking a list of methods with parameters by filling-in
these parameters with injected instances. |
| InjectedBeforeStatements |
A
Statement invoking a list of methods with parameters by filling-in
these parameters with injected instances. |
| InjectedFrameworkMethod | |
| JukitoModule |
A guice
Module with a bit of syntactic sugar
to bind within typical test scopes. |
| JukitoRunner |
TODO: Rework this documentation
This class implements the mockito runner but allows Guice dependency
injection.
|
| MockProvider<T> |
For use in test cases where an
Provider is required to provide an
object and the test case needs to provide a mock of the object. |
| TestModule |
A guice
Module with a bit of syntactic sugar to bind within
typical test scopes. |
| TestScope |
Container of the
TestScope.SINGLETON and TestScope.EAGER_SINGLETON scopes for
test cases running with the JukitoRunner. |
| Annotation Type | Description |
|---|---|
| All |
This annotation can be used on one or more parameter of a test function.
|
| TestEagerSingleton |
This annotation can be used on any classes that should be bound
within the
TestScope.EAGER_SINGLETON scope. |
| TestMockSingleton |
This annotation can be used on any classes that should be bound as
a mock within the
TestScope.SINGLETON scope. |
| TestSingleton |
This annotation can be used on any classes that should be bound
within the
TestScope.SINGLETON scope. |
| UseModules |
This annotation can be used on a test class together with
@RunWith(JukitoRunner.class) to use the bindings contained
in the specified modules for the test. |
Copyright © 2010-2013 ArcBees Inc.. All Rights Reserved.