[jboss-cvs] jbosside/tests/org.jboss.ide.eclipse.core.test/src/org/jboss/ide/eclipse/core/test ...
Marshall Culpepper
mculpepper at jboss.com
Tue Jul 11 16:39:53 EDT 2006
User: mculpepper
Date: 06/07/11 16:39:53
Modified: tests/org.jboss.ide.eclipse.core.test/src/org/jboss/ide/eclipse/core/test
PluginLoadTest.java
Log:
updated tests to make sure new plugins / components were added and renaming changes were reflected
Revision Changes Path
1.3 +24 -11 jbosside/tests/org.jboss.ide.eclipse.core.test/src/org/jboss/ide/eclipse/core/test/PluginLoadTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PluginLoadTest.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/tests/org.jboss.ide.eclipse.core.test/src/org/jboss/ide/eclipse/core/test/PluginLoadTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- PluginLoadTest.java 6 Feb 2006 04:32:57 -0000 1.2
+++ PluginLoadTest.java 11 Jul 2006 20:39:53 -0000 1.3
@@ -29,6 +29,8 @@
public class PluginLoadTest extends TestCase {
private static String jbpkg = "org.jboss.ide.eclipse.";
+ private static String hibpkg = "org.hibernate.eclipse.";
+ private static String jbpmpkg = "org.jbpm.gd.jpdl.";
private boolean isPluginResolved (String pluginId)
{
@@ -49,12 +51,9 @@
public void testCorePluginsResolved ()
{
assertPluginsResolved(new String[] {
- jbpkg+"core", jbpkg+"deployer.core", jbpkg+"deployer.ui",
- jbpkg+"jdt.core", jbpkg+"jdt.j2ee.core", jbpkg+"jdt.j2ee.jsp.core",
- jbpkg+"jdt.j2ee.jsp.ui", jbpkg+"jdt.j2ee.ui", jbpkg+"jdt.j2ee.xml.ui",
- jbpkg+"jdt.test.core", jbpkg+"jdt.test.ui", jbpkg+"jdt.ui",
- jbpkg+"jdt.ws.core", jbpkg+"jdt.ws.ui", jbpkg+"launcher.core",
- jbpkg+"launcher.ui", jbpkg+"packaging.core", jbpkg+"packaging.ui",
+ jbpkg+"core", jbpkg+"jdt.core", jbpkg+"jdt.j2ee.core", jbpkg+"jdt.j2ee.jsp.core",
+ jbpkg+"jdt.j2ee.ui", jbpkg+"jdt.j2ee.xml.ui", jbpkg+"jdt.test.core", jbpkg+"jdt.test.ui", jbpkg+"jdt.ui",
+ jbpkg+"jdt.ws.core", jbpkg+"jdt.ws.ui", jbpkg+"packaging.core", jbpkg+"packaging.ui",
jbpkg+"ui", jbpkg+"xdoclet.assist", jbpkg+"xdoclet.core", jbpkg+"xdoclet.run",
jbpkg+"xdoclet.ui"
});
@@ -74,19 +73,33 @@
});
}
+ public void testASPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbpkg+"as.core", jbpkg+"as.ui"
+ });
+ }
+
public void testHibernatePluginsResolved ()
{
assertPluginsResolved(new String[] {
- "org.hibernate.eclipse", "org.hibernate.eclipse.console",
- "org.hibernate.eclipse.help", "org.hibernate.eclipse.mapper"
+ "org.hibernate.eclipse", hibpkg + "console", hibpkg + "help", hibpkg + "mapper", hibpkg + "jdt.ui", hibpkg + "jdt.apt.ui"
+
});
}
public void testJbpmPluginsResolved ()
{
assertPluginsResolved(new String[] {
- "org.jbpm.core", "org.jbpm.help",
- "org.jbpm.db", "org.jbpm.ui"
+ jbpmpkg + "core", jbpmpkg + "db",
+ jbpmpkg + "help", jbpmpkg + "ui"
+ });
+ }
+
+ public void testFreemarkerPluginsResolved ()
+ {
+ assertPluginsResolved(new String[] {
+ jbpkg+"freemarker"
});
}
}
More information about the jboss-cvs-commits
mailing list