Liferay 7.0-ce-b8 portal-test-internal

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:
com.liferay.portal.kernel.test.rule.callback.TestCallback<Long,Long>

public class SyntheticBundleTestCallback
extends com.liferay.portal.kernel.test.rule.callback.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 com.liferay.portal.kernel.exception.PortalException
Specified by:
afterClass in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Long,Long>
Overrides:
afterClass in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
Throws:
com.liferay.portal.kernel.exception.PortalException

beforeClass

public Long beforeClass(org.junit.runner.Description description)
                 throws Exception
Specified by:
beforeClass in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Long,Long>
Overrides:
beforeClass in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
Throws:
Exception

createBundle

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

Liferay 7.0-ce-b8 portal-test-internal