| Modifier and Type | Interface and Description |
|---|---|
interface |
ObjectFixture<T>
Loads entities instance into database.
|
interface |
RawFixture
A fixture that is loaded via a file containing raw database statements.
|
interface |
ScrollableFixture
A fixture that acts like an
Iterator to return entities. |
interface |
TransformableFixture
A fixture that is not loadable into database without being transformed to another kind of fixture.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseObjectFixture<T extends BaseObjectFixture>
Base class for
ObjectFixture implementations. |
class |
CleaningFixture
A fixture that only truncates tables but does not insert an data into them.
|
class |
GeneratedFixture
Generate entities on the fly.
|
class |
MappingFixture
A simple fixture that loads a collection of entities.
|
class |
SpringFixture
Loads the entities from a Spring context.
|
class |
SqlFileFixture
Loads data from a SQL file.
|
class |
SqlFixture
Load data from SQL queries.
|
class |
XmlFileFixture
Loads fixture from DbUnit-like XML files.
|
| Modifier and Type | Method and Description |
|---|---|
Fixture |
CleaningFixture.addClassesToDelete(Class... classesToDelete)
Add Hibernate mappings to the list of mappings representing the tables to truncate.
|
Fixture |
MappingFixture.addObjects(Object... objectsToAdd)
Add entities to the current list of entities to load.
|
Fixture |
ObjectFixture.addObjects(T... objects)
Adds object to the list of object to load into database.
|
| Modifier and Type | Method and Description |
|---|---|
static CleanableFixtureProxy |
CleanableFixtureProxy.get(Fixture fixture)
Returns a new instance of
CleanableFixtureProxy. |
| Constructor and Description |
|---|
CleanableFixtureProxy(Fixture fixture) |
| Modifier and Type | Method and Description |
|---|---|
static FilterableFixtureProxy |
FilterableFixtureProxy.get(Fixture fixture)
Returns a new instance of
FilterableFixtureProxy. |
| Constructor and Description |
|---|
FilterableFixtureProxy(Fixture fixture) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleFixtureLoader.load(Fixture fixture,
FixtureLoader.Mode mode) |
void |
FixtureLoader.load(Fixture fixture,
FixtureLoader.Mode mode)
Loads a fixture.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixtureTransformer<From extends Fixture,To extends Fixture> |
interface |
FixtureTransformer<From extends Fixture,To extends Fixture> |
| Modifier and Type | Method and Description |
|---|---|
FixtureTransformer |
FixtureTransformerFactory.getFixtureTransformer(Fixture fixture) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Fixture> |
DatabaseTestSupport.getFixtures()
Returns the registered fixtures.
|
Collection<Fixture> |
BaseDatabaseTestSupport.getFixtures() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseTestSupport |
DatabaseTestSupport.addFixtures(Fixture... fixtures)
Adds fixtures to the fixtures to be loaded.
|
DatabaseTestSupport |
BaseDatabaseTestSupport.addFixtures(Fixture... fixtures) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseTestSupport |
DatabaseTestSupport.addFixtures(Collection<Fixture> fixtures)
Adds a collection fixtures to the fixtures to be loaded.
|
DatabaseTestSupport |
BaseDatabaseTestSupport.addFixtures(Collection<Fixture> fixtures) |
Copyright © 2014. All Rights Reserved.