use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class QueryPerformanceTest method createConfigurationLayer.
private LayerAssembly createConfigurationLayer(ApplicationAssembly applicationAssembly) throws AssemblyException {
LayerAssembly layer = applicationAssembly.layer(LAYER_CONFIGURATION);
ModuleAssembly module = layer.module(MODULE_CONFIG);
module.entities(NativeConfiguration.class).visibleIn(Visibility.application);
module.entities(JdbmConfiguration.class).visibleIn(Visibility.application);
new EntityTestAssembler().assemble(module);
return layer;
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class JdbmEntityStorePerformanceTest method createAssembler.
private static Assembler createAssembler() {
return new Assembler() {
public void assemble(ModuleAssembly module) throws AssemblyException {
new JdbmEntityStoreAssembler(Visibility.module).assemble(module);
ModuleAssembly configModule = module.layer().module("Config");
configModule.entities(JdbmConfiguration.class).visibleIn(Visibility.layer);
new EntityTestAssembler(Visibility.module).assemble(configModule);
module.services(EhCachePoolService.class);
configModule.entities(EhCacheConfiguration.class).visibleIn(Visibility.layer);
}
};
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class EnvisageSample method assemble.
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
module.entities(CarEntity.class);
module.entities(AnimalEntity.class);
new RdfMemoryStoreAssembler().assemble(module);
new EntityTestAssembler().assemble(module);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class QI273Test method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
new EntityTestAssembler().assemble(module);
module.entities(SomeDomainEntity.class);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class RemovalTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
module.entities(TestEntity.class);
module.entities(PidRegulator.class);
new EntityTestAssembler().assemble(module);
}
Aggregations