com.liferay.portal.test.rule
Class SyntheticBundleRule
java.lang.Object
com.liferay.portal.kernel.test.rule.BaseTestRule<Long,Long>
com.liferay.portal.test.rule.SyntheticBundleRule
- All Implemented Interfaces:
- ArquillianClassRuleHandler, org.junit.rules.TestRule
public class SyntheticBundleRule
- extends BaseTestRule<Long,Long>
Creates and installs a bundle from the named sub-package of a test class.
For example, if the test class is bar.FooTest, invoking
new SyntheticBundleRule("fee") on FooTest creates a
bundle of the contents of the bar.fee package. This sub-package
should also contain a bnd.bnd file that describes the bundle.
When writing the bnd file, you can use the ${bundle.package}
property to simplify the contents of the file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyntheticBundleRule
public SyntheticBundleRule(String bundlePackage)