|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Module in org.unitils.core |
---|
Methods in org.unitils.core with type parameters of type Module | ||
---|---|---|
|
ModulesRepository.getModuleOfType(Class<T> type)
Gets the modules that is of the given type or a sub-type. |
Methods in org.unitils.core that return types with arguments of type Module | |
---|---|
protected List<Module> |
ModulesLoader.createAndInitializeModules(List<String> moduleNames,
Properties configuration)
Creates the modules with the given class names and calls initializes them with the given configuration. |
List<Module> |
ModulesRepository.getModules()
Gets all modules. |
Map<Module,TestListener> |
ModulesRepository.getTestListeners()
Gets all listeners. |
List<Module> |
ModulesLoader.loadModules(Properties configuration)
Loads all unitils modules as described in the class javadoc. |
Methods in org.unitils.core with parameters of type Module | |
---|---|
TestListener |
ModulesRepository.getTestListener(Module module)
Gets the listener corresponding to the given module. |
Method parameters in org.unitils.core with type arguments of type Module | |
---|---|
boolean |
ModulesRepository.isModuleEnabled(Class<? extends Module> moduleClass)
Checks whether a module of a type exists. |
Constructor parameters in org.unitils.core with type arguments of type Module | |
---|---|
ModulesRepository(List<Module> modules)
Creates a repository containing the given modules. |
Uses of Module in org.unitils.database |
---|
Classes in org.unitils.database that implement Module | |
---|---|
class |
DatabaseModule
Module that provides support for database testing: Creation of a datasource that connects to the test database, support for executing tests in a transaction and automatic maintenance of the test database. |
Uses of Module in org.unitils.dbunit |
---|
Classes in org.unitils.dbunit that implement Module | |
---|---|
class |
DbUnitModule
Module that provides support for managing database test data using DBUnit. |
Uses of Module in org.unitils.easymock |
---|
Classes in org.unitils.easymock that implement Module | |
---|---|
class |
EasyMockModule
Module for testing with mock objects using EasyMock. |
Uses of Module in org.unitils.inject |
---|
Classes in org.unitils.inject that implement Module | |
---|---|
class |
InjectModule
Module for injecting annotated objects into other objects. |
Uses of Module in org.unitils.io |
---|
Classes in org.unitils.io that implement Module | |
---|---|
class |
IOModule
|
Uses of Module in org.unitils.mock |
---|
Classes in org.unitils.mock that implement Module | |
---|---|
class |
MockModule
Module for testing with mock objects. |
Uses of Module in org.unitils.orm.common |
---|
Classes in org.unitils.orm.common that implement Module | |
---|---|
class |
OrmModule<ORM_PERSISTENCE_UNIT,ORM_PERSISTENCE_CONTEXT,PROVIDER_CONFIGURATION_OBJECT,PERSISTENCE_UNIT_CONFIG_ANNOTATION extends Annotation,ORM_CONFIG extends OrmConfig,ORM_PERSISTENCE_UNIT_CONFIG_LOADER extends ResourceConfigLoader<ORM_CONFIG>>
Base module defining common behavior for a module that provides object relational mapping support for tests. |
Uses of Module in org.unitils.orm.hibernate |
---|
Classes in org.unitils.orm.hibernate that implement Module | |
---|---|
class |
HibernateModule
Module providing support for unit tests for code that uses Hibernate. |
Uses of Module in org.unitils.orm.jpa |
---|
Classes in org.unitils.orm.jpa that implement Module | |
---|---|
class |
JpaModule
Module providing support for unit tests for code that uses JPA. |
Uses of Module in org.unitils.spring |
---|
Classes in org.unitils.spring that implement Module | |
---|---|
class |
SpringModule
A module for Spring enabling a test class by offering an easy way to load application contexts and an easy way of retrieving beans from the context and injecting them in the test. |
Uses of Module in org.unitils.util |
---|
Method parameters in org.unitils.util with type arguments of type Module | |
---|---|
static String |
ModuleUtils.getAnnotationPropertyDefault(Class<? extends Module> moduleClass,
Class<? extends Annotation> annotationClass,
String name,
Properties configuration)
Returns the default for annotation property of the given annotation with the given name for the given moduleclass. |
static Map<Class<? extends Annotation>,Map<String,String>> |
ModuleUtils.getAnnotationPropertyDefaults(Class<? extends Module> moduleClass,
Properties configuration,
Class<? extends Annotation>... annotationClasses)
Returns an object that represents the default values for the properties of the given annotations and the given module. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |