[jbosstools-commits] JBoss Tools SVN: r22859 - in trunk/examples/tests/org.jboss.tools.project.examples.test: src/org/jboss/tools/project/examples/test and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jun 17 13:56:44 EDT 2010


Author: dgolovin
Date: 2010-06-17 13:56:43 -0400 (Thu, 17 Jun 2010)
New Revision: 22859

Modified:
   trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF
   trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java
Log:
https://jira.jboss.org/browse/JBDS-1202 problems running tests
fix for examples component tests






Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF	2010-06-17 15:06:58 UTC (rev 22858)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/META-INF/MANIFEST.MF	2010-06-17 17:56:43 UTC (rev 22859)
@@ -5,7 +5,8 @@
 Bundle-Version: 1.1.0.qualifier
 Require-Bundle: org.eclipse.core.runtime,
  org.junit;bundle-version="3.8.2",
- org.jboss.tools.tests;bundle-version="2.0.0"
+ org.jboss.tools.tests;bundle-version="2.0.0",
+ org.jboss.tools.project.examples;bundle-version="1.1.0"
 Bundle-ActivationPolicy: lazy
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Export-Package: org.jboss.tools.project.examples.test

Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java	2010-06-17 15:06:58 UTC (rev 22858)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesPluginsLoadTest.java	2010-06-17 17:56:43 UTC (rev 22859)
@@ -1,9 +1,10 @@
 package org.jboss.tools.project.examples.test;
 
+import org.eclipse.core.runtime.Platform;
 import org.jboss.tools.tests.AbstractPluginsLoadTest;
 
 public class ProjectExamplesPluginsLoadTest extends AbstractPluginsLoadTest {
-	public void testProjectExamplesPluginsAreResolvedAndActivated() {
-		testBundlesAreLoadedFor("org.jboss.tools.project.examples.feature");
+	public void testOrgJbossToolsProjectExamplesAreResolvedAndActivated() {
+		assertPluginResolved(Platform.getBundle("org.jboss.tools.project.examples"));
 	}
 }



More information about the jbosstools-commits mailing list