org.unitils.mock
Class MockModule.MockTestListener

java.lang.Object
  extended by org.unitils.core.TestListener
      extended by org.unitils.mock.MockModule.MockTestListener
Enclosing class:
MockModule

protected class MockModule.MockTestListener
extends TestListener

Test listener that handles the scenario and mock creation, and makes sure a final syntax check is performed after each test and that scenario reports are logged if required.


Constructor Summary
protected MockModule.MockTestListener()
           
 
Method Summary
 void afterTestTearDown(java.lang.Object testObject, java.lang.reflect.Method testMethod)
           
 void beforeTestSetUp(java.lang.Object testObject, java.lang.reflect.Method testMethod)
           
 
Methods inherited from class org.unitils.core.TestListener
afterCreateTestObject, afterTestMethod, beforeTestClass, beforeTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockModule.MockTestListener

protected MockModule.MockTestListener()
Method Detail

beforeTestSetUp

public void beforeTestSetUp(java.lang.Object testObject,
                            java.lang.reflect.Method testMethod)
Overrides:
beforeTestSetUp in class TestListener

afterTestTearDown

public void afterTestTearDown(java.lang.Object testObject,
                              java.lang.reflect.Method testMethod)
Overrides:
afterTestTearDown in class TestListener


Copyright © 2009. All Rights Reserved.