Liferay 7.0-ce-a2

com.liferay.portal.test.rule.callback
Class SyntheticBundleTestCallback

java.lang.Object
  extended by com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
      extended by com.liferay.portal.test.rule.callback.SyntheticBundleTestCallback
All Implemented Interfaces:
TestCallback<Long,Long>

public class SyntheticBundleTestCallback
extends BaseTestCallback<Long,Long>


Constructor Summary
SyntheticBundleTestCallback(String bundlePackageName)
           
 
Method Summary
 void afterClass(Class<?> clazz, Long bundleId)
           
 Long beforeClass(Class<?> clazz)
           
protected  InputStream createBundle(Class<?> clazz)
           
 void doAfterClass(org.junit.runner.Description description, Long bundleId)
           
 Long doBeforeClass(org.junit.runner.Description description)
           
 
Methods inherited from class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback
afterMethod, beforeMethod, doAfterMethod, doBeforeMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntheticBundleTestCallback

public SyntheticBundleTestCallback(String bundlePackageName)
Method Detail

afterClass

public void afterClass(Class<?> clazz,
                       Long bundleId)
                throws Throwable
Specified by:
afterClass in interface TestCallback<Long,Long>
Overrides:
afterClass in class BaseTestCallback<Long,Long>
Throws:
Throwable

beforeClass

public Long beforeClass(Class<?> clazz)
                 throws Throwable
Specified by:
beforeClass in interface TestCallback<Long,Long>
Overrides:
beforeClass in class BaseTestCallback<Long,Long>
Throws:
Throwable

doAfterClass

public void doAfterClass(org.junit.runner.Description description,
                         Long bundleId)
                  throws Throwable
Overrides:
doAfterClass in class BaseTestCallback<Long,Long>
Throws:
Throwable

doBeforeClass

public Long doBeforeClass(org.junit.runner.Description description)
                   throws Throwable
Overrides:
doBeforeClass in class BaseTestCallback<Long,Long>
Throws:
Throwable

createBundle

protected InputStream createBundle(Class<?> clazz)
                            throws Exception
Throws:
Exception

Liferay 7.0-ce-a2