org.unitils.mock
Class MockModule.MockTestListener
java.lang.Object
org.unitils.core.TestListener
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockModule.MockTestListener
protected MockModule.MockTestListener()
beforeTestSetUp
public void beforeTestSetUp(Object testObject,
Method testMethod)
- Overrides:
beforeTestSetUp in class TestListener
afterTestMethod
public void afterTestMethod(Object testObject,
Method testMethod,
Throwable testThrowable)
- Overrides:
afterTestMethod in class TestListener
Copyright © 2011. All Rights Reserved.