org.qi4j.test
Class AbstractQi4jTest

java.lang.Object
  extended by org.qi4j.test.AbstractQi4jBaseTest
      extended by org.qi4j.test.AbstractQi4jTest
All Implemented Interfaces:
Assembler
Direct Known Subclasses:
AbstractAnyQueryTest, AbstractCollectionSerializationTest, AbstractEntityStoreTest, AbstractJsonDateFormatTest, AbstractPlainValueSerializationTest, AbstractValueCompositeSerializationTest

public abstract class AbstractQi4jTest
extends AbstractQi4jBaseTest
implements Assembler

Base class for Composite tests.


Field Summary
protected  Module module
           
 
Fields inherited from class org.qi4j.test.AbstractQi4jBaseTest
api, application, applicationModel, qi4j, spi
 
Constructor Summary
AbstractQi4jTest()
           
 
Method Summary
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()
           
 
Methods inherited from class org.qi4j.test.AbstractQi4jBaseTest
assemblyException, getLog, initApplication, newApplication, newApplicationInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.bootstrap.Assembler
assemble
 

Field Detail

module

protected Module module
Constructor Detail

AbstractQi4jTest

public AbstractQi4jTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class AbstractQi4jBaseTest
Throws:
java.lang.Exception

defineApplication

protected void defineApplication(ApplicationAssembly applicationAssembly)
                          throws AssemblyException
Description copied from class: AbstractQi4jBaseTest
Called by the superclass for the test to define the entire application, every layer, every module and all the contents of each module.

Specified by:
defineApplication in class AbstractQi4jBaseTest
Parameters:
applicationAssembly - the ApplicationAssembly to be populated.
Throws:
AssemblyException

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class AbstractQi4jBaseTest
Throws:
java.lang.Exception