Liferay 7.0-ce-b4

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(org.junit.runner.Description description, Long bundleId)
           
 Long beforeClass(org.junit.runner.Description description)
           
protected  InputStream createBundle(Class<?> clazz)
           
 
Methods inherited from class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback
afterMethod, beforeMethod
 
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(org.junit.runner.Description description,
                       Long bundleId)
                throws PortalException
Specified by:
afterClass in interface TestCallback<Long,Long>
Overrides:
afterClass in class BaseTestCallback<Long,Long>
Throws:
PortalException

beforeClass

public Long beforeClass(org.junit.runner.Description description)
                 throws Exception
Specified by:
beforeClass in interface TestCallback<Long,Long>
Overrides:
beforeClass in class BaseTestCallback<Long,Long>
Throws:
Exception

createBundle

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

Liferay 7.0-ce-b4