public class SyntheticBundleTestCallback
extends com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
Constructor and Description |
---|
SyntheticBundleTestCallback(String bundlePackageName) |
Modifier and Type | Method and Description |
---|---|
void |
afterClass(org.junit.runner.Description description,
Long bundleId) |
Long |
beforeClass(org.junit.runner.Description description) |
protected InputStream |
createBundle(Class<?> clazz) |
public SyntheticBundleTestCallback(String bundlePackageName)
public void afterClass(org.junit.runner.Description description, Long bundleId) throws com.liferay.portal.kernel.exception.PortalException
afterClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Long,Long>
afterClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
com.liferay.portal.kernel.exception.PortalException
public Long beforeClass(org.junit.runner.Description description) throws Exception
beforeClass
in interface com.liferay.portal.kernel.test.rule.callback.TestCallback<Long,Long>
beforeClass
in class com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
Exception
protected InputStream createBundle(Class<?> clazz) throws Exception
Exception