public abstract class AbstractPolygeneTest extends AbstractPolygeneBaseTest implements Assembler
Modifier and Type | Field and Description |
---|---|
protected ModuleDescriptor |
module |
protected ObjectFactory |
objectFactory |
protected QueryBuilderFactory |
queryBuilderFactory |
protected ServiceFinder |
serviceFinder |
protected TransientBuilderFactory |
transientBuilderFactory |
protected UnitOfWorkFactory |
unitOfWorkFactory |
protected ValueBuilderFactory |
valueBuilderFactory |
api, application, applicationModel, notYetImplementedRule, polygene, spi
Constructor and Description |
---|
AbstractPolygeneTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
defineApplication(ApplicationAssembly applicationAssembly)
Called by the superclass for the test to define the entire application, every layer, every module and all
the contents of each module.
|
void |
setUp() |
void |
tearDown() |
assemblyException, initApplication, newApplicationInstance, newApplicationModel
@Structure protected UnitOfWorkFactory unitOfWorkFactory
@Structure protected TransientBuilderFactory transientBuilderFactory
@Structure protected ValueBuilderFactory valueBuilderFactory
@Structure protected ServiceFinder serviceFinder
@Structure protected ObjectFactory objectFactory
@Structure protected QueryBuilderFactory queryBuilderFactory
@Structure protected ModuleDescriptor module
public void setUp() throws Exception
setUp
in class AbstractPolygeneBaseTest
Exception
protected void defineApplication(ApplicationAssembly applicationAssembly)
AbstractPolygeneBaseTest
defineApplication
in class AbstractPolygeneBaseTest
applicationAssembly
- the ApplicationAssembly
to be populated.public void tearDown() throws Exception
tearDown
in class AbstractPolygeneBaseTest
Exception