org.unitils.orm.jpa
Class JpaModule.JpaTestListener

java.lang.Object
  extended by org.unitils.core.TestListener
      extended by org.unitils.orm.common.OrmModule.OrmTestListener
          extended by org.unitils.orm.jpa.JpaModule.JpaTestListener
Enclosing class:
JpaModule

protected class JpaModule.JpaTestListener
extends OrmModule.OrmTestListener

The TestListener for this module


Constructor Summary
protected JpaModule.JpaTestListener()
           
 
Method Summary
 void beforeTestSetUp(Object testObject, Method testMethod)
          Invoked before the test setup (eg @Before) is run.
 
Methods inherited from class org.unitils.core.TestListener
afterCreateTestObject, afterTestMethod, afterTestTearDown, beforeTestClass, beforeTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaModule.JpaTestListener

protected JpaModule.JpaTestListener()
Method Detail

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 OrmModule.OrmTestListener
Parameters:
testObject - The test instance, not null
testMethod - The test method, not null


Copyright © 2011. All Rights Reserved.