public class SyntheticBundleRule
extends com.liferay.portal.kernel.test.rule.BaseTestRule<Long,Long>
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.
Constructor and Description |
---|
SyntheticBundleRule(String bundlePackage) |