com.liferay.portal.test.rule.callback
Class SyntheticBundleTestCallback
java.lang.Object
com.liferay.portal.kernel.test.rule.callback.BaseTestCallback<Long,Long>
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>
| 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 |
SyntheticBundleTestCallback
public SyntheticBundleTestCallback(String bundlePackageName)
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