Author: mculpepper(a)jboss.com
Date: 2007-06-25 16:58:08 -0400 (Mon, 25 Jun 2007)
New Revision: 2175
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java
Log:
moved jbosside activator tests into new jbosstools activator tests
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java 2007-06-25
20:31:11 UTC (rev 2174)
+++
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java 2007-06-25
20:58:08 UTC (rev 2175)
@@ -18,6 +18,10 @@
public class PlugInLoadTest extends TestCase {
public static final String rhdsNS = "org.jboss.tools.";
+ private static String jbideNS = "org.jboss.ide.eclipse.";
+ private static String hibNS = "org.hibernate.eclipse.";
+ private static String jbpmNS = "org.jbpm.gd.jpdl.";
+ private static String jbwsNS = "com.eviware.soapui.";
private boolean isPluginResolved (String pluginId)
{
@@ -118,4 +122,64 @@
});
}
+ public void testCorePluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbideNS+"core", jbideNS+"jdt.core",
jbideNS+"jdt.j2ee.core",
+ jbideNS+"jdt.j2ee.ui", jbideNS+"jdt.j2ee.xml.ui",
jbideNS+"jdt.test.core", jbideNS+"jdt.test.ui",
jbideNS+"jdt.ui",
+ jbideNS+"jdt.ws.core", jbideNS+"jdt.ws.ui",
jbideNS+"archives.core", jbideNS+"archives.ui",
+ jbideNS+"ui", jbideNS+"xdoclet.assist",
jbideNS+"xdoclet.core", jbideNS+"xdoclet.run",
+ jbideNS+"xdoclet.ui"
+ });
+ }
+
+ public void testEjb3PluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbideNS+"ejb3.wizards.core", jbideNS+"ejb3.wizards.ui"
+ });
+ }
+
+ public void testASPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbideNS+"as.core", jbideNS+"as.ui",
jbideNS+"as.ui.mbeans"
+ });
+ }
+
+ public void testHibernatePluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ "org.hibernate.eclipse", hibNS + "console", hibNS +
"help", hibNS + "mapper", hibNS + "jdt.ui", hibNS +
"jdt.apt.ui"
+
+ });
+ }
+
+ public void testJbpmPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbpmNS + "core", jbpmNS + "ui"
+ });
+ }
+
+ public void testFreemarkerPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbideNS+"freemarker"
+ });
+ }
+
+ public void testDroolsPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ "org.drools.ide"
+ });
+ }
+
+ public void testJBossWSPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbwsNS+"core", jbwsNS + "eclipse.core",
jbwsNS+"jbosside.wstools", jbwsNS+"libs"
+ });
+ }
}
Show replies by date