Author: adietish
Date: 2011-11-25 14:11:50 -0500 (Fri, 25 Nov 2011)
New Revision: 36674
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/internal/management/as7/tests/JBossManagementServiceTest.java
Log:
[JBIDE-10224] removed bundle activators, removed "lazy bundle activation",
replaced bundle dependency by package dependency, commented hack
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/internal/management/as7/tests/JBossManagementServiceTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/internal/management/as7/tests/JBossManagementServiceTest.java 2011-11-25
19:09:48 UTC (rev 36673)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.management.as7.tests/src/org/jboss/ide/eclipse/as/internal/management/as7/tests/JBossManagementServiceTest.java 2011-11-25
19:11:50 UTC (rev 36674)
@@ -15,7 +15,6 @@
import java.net.UnknownHostException;
import org.jboss.ide.eclipse.as.core.server.v7.management.IJBoss7ManagerService;
-import org.jboss.ide.eclipse.as.internal.management.as7.AS7ManagementActivator;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -31,6 +30,7 @@
public class JBossManagementServiceTest {
private static final String DS_BUNDLEID = "org.eclipse.equinox.ds";
+ private static final String AS7MANAGER_PLUGINID =
"org.jboss.ide.eclipse.as.management.as7";
@Before
public void setUp() throws UnknownHostException {
@@ -55,8 +55,8 @@
private void ensureServiceBundleIsRunning() throws BundleException {
BundleContext context = Activator.getContext();
assertNotNull("bundle of this test is not active", context);
- Bundle bundle = getBundle(AS7ManagementActivator.PLUGIN_ID);
- assertNotNull(AS7ManagementActivator.PLUGIN_ID + " not installed", bundle);
+ Bundle bundle = getBundle(AS7MANAGER_PLUGINID);
+ assertNotNull(AS7MANAGER_PLUGINID + " not installed", bundle);
startBundle(bundle);
}
Show replies by date