org.unitils.spring
Class SpringModule.SpringTestListener

java.lang.Object
  extended by org.unitils.core.TestListener
      extended by org.unitils.spring.SpringModule.SpringTestListener
Enclosing class:
SpringModule

protected class SpringModule.SpringTestListener
extends TestListener

The TestListener for this module


Constructor Summary
protected SpringModule.SpringTestListener()
           
 
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

SpringModule.SpringTestListener

protected SpringModule.SpringTestListener()
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 TestListener
Parameters:
testObject - The test instance, not null
testMethod - The test method, not null


Copyright © 2011. All Rights Reserved.