com.liferay.portal.kernel.test.rule.callback
Class BaseTestCallback<C,M>
java.lang.Object
com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<C,M>
- All Implemented Interfaces:
- TestCallback<C,M>
- Direct Known Subclasses:
- CITimeoutTestCallback, ClearThreadLocalTestCallback, DeleteAfterTestRunTestCallback, HypersonicServerTestCallback, LogAssertionTestCallback, MainServletTestCallback, PersistenceTestCallback, PortalExecutorManagerTestCallback, SynchronousDestinationTestCallback, SyntheticBundleTestCallback, UniqueStringRandomizerBumperTestCallback
public class BaseTestCallback<C,M>
- extends Object
- implements TestCallback<C,M>
|
Method Summary |
void |
afterClass(Class<?> clazz,
C c)
|
void |
afterMethod(Class<?> clazz,
Method method,
M m,
Object target)
|
C |
beforeClass(Class<?> clazz)
|
M |
beforeMethod(Class<?> clazz,
Method method,
Object target)
|
void |
doAfterClass(org.junit.runner.Description description,
C c)
|
void |
doAfterMethod(org.junit.runner.Description description,
M m,
Object target)
|
C |
doBeforeClass(org.junit.runner.Description description)
|
M |
doBeforeMethod(org.junit.runner.Description description,
Object target)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseTestCallback
public BaseTestCallback()
afterClass
public void afterClass(Class<?> clazz,
C c)
throws Throwable
- Specified by:
afterClass in interface TestCallback<C,M>
- Throws:
Throwable
afterMethod
public void afterMethod(Class<?> clazz,
Method method,
M m,
Object target)
throws Throwable
- Specified by:
afterMethod in interface TestCallback<C,M>
- Throws:
Throwable
beforeClass
public C beforeClass(Class<?> clazz)
throws Throwable
- Specified by:
beforeClass in interface TestCallback<C,M>
- Throws:
Throwable
beforeMethod
public M beforeMethod(Class<?> clazz,
Method method,
Object target)
throws Throwable
- Specified by:
beforeMethod in interface TestCallback<C,M>
- Throws:
Throwable
doAfterClass
public void doAfterClass(org.junit.runner.Description description,
C c)
throws Throwable
- Throws:
Throwable
doAfterMethod
public void doAfterMethod(org.junit.runner.Description description,
M m,
Object target)
throws Throwable
- Throws:
Throwable
doBeforeClass
public C doBeforeClass(org.junit.runner.Description description)
throws Throwable
- Throws:
Throwable
doBeforeMethod
public M doBeforeMethod(org.junit.runner.Description description,
Object target)
throws Throwable
- Throws:
Throwable