public abstract class AbstractQi4jScenarioTest extends Object implements org.qi4j.bootstrap.Assembler
Modifier and Type | Field and Description |
---|---|
protected static org.qi4j.api.Qi4j |
api |
protected static org.qi4j.api.structure.Application |
application |
protected static org.qi4j.api.structure.ApplicationDescriptor |
applicationModel |
protected static org.qi4j.bootstrap.Assembler |
assembler |
protected static org.qi4j.api.structure.Module |
module |
protected static org.qi4j.bootstrap.Energy4Java |
qi4j |
protected static org.qi4j.spi.Qi4jSPI |
spi |
Constructor and Description |
---|
AbstractQi4jScenarioTest() |
Modifier and Type | Method and Description |
---|---|
protected static void |
assemblyException(org.qi4j.bootstrap.AssemblyException exception)
This method is called when there was an AssemblyException in the creation of the Zest application model.
|
protected static void |
initApplication(org.qi4j.api.structure.Application app) |
protected static org.qi4j.api.structure.ApplicationDescriptor |
newApplication() |
static void |
setUp() |
void |
tearDown() |
protected static org.qi4j.api.Qi4j api
protected static org.qi4j.spi.Qi4jSPI spi
protected static org.qi4j.bootstrap.Energy4Java qi4j
protected static org.qi4j.api.structure.ApplicationDescriptor applicationModel
protected static org.qi4j.api.structure.Application application
protected static org.qi4j.api.structure.Module module
protected static org.qi4j.bootstrap.Assembler assembler
protected static org.qi4j.api.structure.ApplicationDescriptor newApplication() throws org.qi4j.bootstrap.AssemblyException
org.qi4j.bootstrap.AssemblyException
protected static void assemblyException(org.qi4j.bootstrap.AssemblyException exception) throws org.qi4j.bootstrap.AssemblyException
Override this method to catch valid failures to place into satisfiedBy suites.
exception
- the exception thrown.org.qi4j.bootstrap.AssemblyException
- The default implementation of this method will simply re-throw the exception.protected static void initApplication(org.qi4j.api.structure.Application app) throws Exception
Exception