Liferay 7.0-ce-b4

com.liferay.portal.kernel.test.rule.callback
Class BaseTestCallback<C,M>

java.lang.Object
  extended by com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<C,M>
All Implemented Interfaces:
TestCallback<C,M>
Direct Known Subclasses:
CITimeoutTestCallback, ClearThreadLocalTestCallback, CompanyProviderTestCallback, DeleteAfterTestRunTestCallback, HypersonicServerTestCallback, MainServletTestCallback, PersistenceTestCallback, PortalExecutorManagerTestCallback, SybaseDumpTransactionLogTestCallback, SyntheticBundleTestCallback, UniqueStringRandomizerBumperTestCallback

public class BaseTestCallback<C,M>
extends Object
implements TestCallback<C,M>


Constructor Summary
BaseTestCallback()
           
 
Method Summary
 void afterClass(org.junit.runner.Description description, C c)
           
 void afterMethod(org.junit.runner.Description description, M m, Object target)
           
 C beforeClass(org.junit.runner.Description description)
           
 M beforeMethod(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
 

Constructor Detail

BaseTestCallback

public BaseTestCallback()
Method Detail

afterClass

public void afterClass(org.junit.runner.Description description,
                       C c)
                throws Throwable
Specified by:
afterClass in interface TestCallback<C,M>
Throws:
Throwable

afterMethod

public void afterMethod(org.junit.runner.Description description,
                        M m,
                        Object target)
                 throws Throwable
Specified by:
afterMethod in interface TestCallback<C,M>
Throws:
Throwable

beforeClass

public C beforeClass(org.junit.runner.Description description)
              throws Throwable
Specified by:
beforeClass in interface TestCallback<C,M>
Throws:
Throwable

beforeMethod

public M beforeMethod(org.junit.runner.Description description,
                      Object target)
               throws Throwable
Specified by:
beforeMethod in interface TestCallback<C,M>
Throws:
Throwable

Liferay 7.0-ce-b4