org.unitils.orm.common
Class OrmModule.OrmTestListener
java.lang.Object
org.unitils.core.TestListener
org.unitils.orm.common.OrmModule.OrmTestListener
- Direct Known Subclasses:
- HibernateModule.HibernateTestListener, JpaModule.JpaTestListener
- Enclosing class:
- OrmModule<ORM_PERSISTENCE_UNIT,ORM_PERSISTENCE_CONTEXT,PROVIDER_CONFIGURATION_OBJECT,PERSISTENCE_UNIT_CONFIG_ANNOTATION extends Annotation,ORM_CONFIG extends OrmConfig,ORM_PERSISTENCE_UNIT_CONFIG_LOADER extends ResourceConfigLoader<ORM_CONFIG>>
protected class OrmModule.OrmTestListener
- extends TestListener
The TestListener
for this module
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrmModule.OrmTestListener
protected OrmModule.OrmTestListener()
beforeTestSetUp
public void beforeTestSetUp(Object testObject,
Method testMethod)
- Description copied from class:
TestListener
- Invoked before the test setup (eg @Before) is run.
This can be overridden to for example initialize the test-fixture.
- Overrides:
beforeTestSetUp
in class TestListener
- Parameters:
testObject
- The test instance, not nulltestMethod
- The test method, not null
Copyright © 2011. All Rights Reserved.