| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
AbstractBeanMother._bear(T target,
FixtureMap fixtureMap,
PostProcessor<T> postProcessor) |
| Modifier and Type | Method and Description |
|---|---|
FixtureMap |
FixtureMap.reproduce()
Reproduce this.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
FixtureTemplateSubTypeHandler.handleIf(FixtureMap fixtureMap)
Handle if FixtureTemplate is a FixtureMap
|
static void |
FixtureMapTraversal.traverse(FixtureMap fixtureMap,
FixtureMapTraversal.Processor processor)
Traverse each edges(
FixtureValue) and run FixtureMapTraversal.Processor when it meets a edge. |
| Modifier and Type | Method and Description |
|---|---|
static FixtureMap |
FixtureTemplateWrapper.wrap(Map<String,? extends Object> source,
String fixtureName,
FixtureTemplate parent)
Wrap Map in
FixtureMap |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FixtureMap> |
FixtureParser.parse(String fixture)
Parse fixture string to Map
|
Map<String,FixtureMap> |
YamlFixtureParser.parse(String fixture) |
| Modifier and Type | Method and Description |
|---|---|
FixtureMap |
FixturesStore.get(String fixtureKey)
Get a FixtureMap.
|
FixtureMap |
DefaultFixturesStore.get(String fixtureKey) |
FixtureMap |
FixturesStore.reproduce(String fixtureKey)
Reproduce a FixtureMap.
|
FixtureMap |
DefaultFixturesStore.reproduce(String fixtureKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FixtureMap> |
DefaultFixturesStore.getFixtureMaps()
Get fixtureMap
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SetterAndFieldFixtureMapper.bind(Object target,
String key,
FixtureMap fixtureMap) |
protected abstract void |
AbstractFixtureMapper.bind(Object target,
String key,
FixtureMap fixtureMap) |
static Object |
ConstructHelper.construct(Class<?> type,
FixtureMap fixtureMap,
FixtureConverter fixtureConverter)
Create instance of a given type.
|
protected Object |
FixtureConverterImpl.convert(FixtureMap fixtureMap,
com.google.common.reflect.TypeToken<?> typeToken)
Convert FixtureMap to given type
|
<T> T |
FixtureMapper.map(FixtureMap fixtureMap,
Class<T> targetType)
map data by the given type.
|
<T> T |
AbstractFixtureMapper.map(FixtureMap fixtureMap,
Class<T> targetType) |
<T> T |
DefaultFixtureMapper.map(FixtureMap fixtureMap,
Class<T> targetType) |
void |
FixtureMapper.map(FixtureMap fixtureMap,
Object target)
map data to target object.
|
void |
AbstractFixtureMapper.map(FixtureMap fixtureMap,
Object target) |
void |
DefaultFixtureMapper.map(FixtureMap fixtureMap,
Object target) |
| Constructor and Description |
|---|
FixtureMappingException(Class<?> type,
FixtureMap fixtureMap,
Throwable cause)
Create a FixtureMappingException with a type, a fixtureMap and a cause
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
PostProcessor.process(T bean,
FixtureMap fixtureMap)
Process
|
Copyright © 2018. All rights reserved.