public abstract class InjectedTest extends Object implements com.google.inject.Module
Constructor and Description |
---|
InjectedTest() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder)
Custom injection bindings.
|
void |
configure(Properties properties)
Custom property values.
|
String |
getBasedir() |
<T> T |
lookup(Class<T> type) |
<T> T |
lookup(Class<T> type,
Annotation qualifier) |
<T> T |
lookup(Class<T> type,
Class<? extends Annotation> qualifier) |
<T> T |
lookup(Class<T> type,
String name) |
BeanScanning |
scanning() |
void |
setUp() |
ClassSpace |
space() |
SpaceModule |
spaceModule() |
void |
tearDown() |
public SpaceModule spaceModule()
public ClassSpace space()
public BeanScanning scanning()
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
binder
- The Guice binderpublic void configure(Properties properties)
properties
- The test propertiespublic final <T> T lookup(Class<T> type)
public final <T> T lookup(Class<T> type, Class<? extends Annotation> qualifier)
public final <T> T lookup(Class<T> type, Annotation qualifier)
public final String getBasedir()
Copyright © 2022. All rights reserved.