use of aQute.remote.util.JMXBundleDeployer in project liferay-blade-samples by liferay.
the class BladeJspWarPortletTest method cleanUpDependencies.
@AfterClass
public static void cleanUpDependencies() throws Exception {
new JMXBundleDeployer().uninstall(_fooApiJarBSN);
new JMXBundleDeployer().uninstall(_fooServiceJarBSN);
new JMXBundleDeployer().uninstall(_jspPortletWarBSN);
}
use of aQute.remote.util.JMXBundleDeployer in project liferay-blade-samples by liferay.
the class BladeServiceBuilderTest method cleanUpDependencies.
@AfterClass
public static void cleanUpDependencies() throws Exception {
new JMXBundleDeployer().uninstall(_fooApiJarBSN);
new JMXBundleDeployer().uninstall(_fooServiceJarBSN);
new JMXBundleDeployer().uninstall(_fooWebJarBSN);
}
use of aQute.remote.util.JMXBundleDeployer in project liferay-blade-samples by liferay.
the class BladePortletGreedyPolicyOptionTest method testBladePortletGreedy.
@Test
public void testBladePortletGreedy() throws Exception {
_webDriver.get(_greedyPortletURL.toExternalForm());
Assert.assertTrue("Portlet was not deployed", BladeSampleFunctionalActionUtil.isVisible(_webDriver, _bladeSampleGreedyPortlet));
Assert.assertTrue("Expected Greedy Portlet, but saw " + _greedyPortletTitle.getText(), _greedyPortletTitle.getText().contentEquals("Greedy Portlet"));
Assert.assertTrue("Expected SomeService says I am Default!, but saw " + _greedyPortletBody.getText(), _greedyPortletBody.getText().contentEquals("SomeService says I am Default!"));
final File higherRankedServiceJar = new File(System.getProperty("greedyHigherRankedServiceJarFile"));
new JMXBundleDeployer().deploy(_higherRankedServiceJarBSN, higherRankedServiceJar);
_webDriver.navigate().refresh();
Assert.assertTrue("Expected SomeService says I am better, use me!, but saw " + _greedyPortletBody.getText(), BladeSampleFunctionalActionUtil.isTextPresent(_webDriver, _greedyPortletBody, "SomeService says I am better, use me!"));
}
use of aQute.remote.util.JMXBundleDeployer in project liferay-blade-samples by liferay.
the class ConnectionTest method create.
@Deployment
public static JavaArchive create() throws Exception {
_dbManager = new DBManager();
_dbManager.startUp();
_addData();
final File jarFile = new File(System.getProperty("jarFile"));
final File apiJar = new File(System.getProperty("jdbcApiJarFile"));
new JMXBundleDeployer().deploy(_jdbcServiceBuilderApiJarBSN, apiJar);
return ShrinkWrap.createFromZipFile(JavaArchive.class, jarFile);
}
use of aQute.remote.util.JMXBundleDeployer in project liferay-blade-samples by liferay.
the class ConnectionTest method create.
@Deployment
public static JavaArchive create() throws Exception {
_dbManager = new DBManager();
_dbManager.startUp();
_addData();
final File jarFile = new File(System.getProperty("jarFile"));
final File apiJar = new File(System.getProperty("jndiApiJarFile"));
new JMXBundleDeployer().deploy(_jndiServiceBuilderApiJarBSN, apiJar);
return ShrinkWrap.createFromZipFile(JavaArchive.class, jarFile);
}
Aggregations