[jbosstools-commits] JBoss Tools SVN: r22615 - in trunk/birt/tests/org.jboss.tools.birt.core.test: src/org/jboss/tools/birt/core/test and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Jun 7 17:01:42 EDT 2010


Author: dgolovin
Date: 2010-06-07 17:01:42 -0400 (Mon, 07 Jun 2010)
New Revision: 22615

Modified:
   trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF
   trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/core/test/BirtCoreTestSuite.java
Log:
https://jira.jboss.org/browse/JBDS-1202 problems running tests
fix for birt tests





Modified: trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF	2010-06-07 20:46:21 UTC (rev 22614)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF	2010-06-07 21:01:42 UTC (rev 22615)
@@ -6,5 +6,7 @@
 Bundle-Vendor: JBoss by RedHat
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Require-Bundle: org.jboss.tools.tests,
- org.junit
+ org.junit,
+ org.eclipse.core.runtime;bundle-version="3.5.0",
+ org.eclipse.birt.core;bundle-version="2.5.0"
 Export-Package: org.jboss.tools.birt.core.test

Modified: trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/core/test/BirtCoreTestSuite.java
===================================================================
--- trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/core/test/BirtCoreTestSuite.java	2010-06-07 20:46:21 UTC (rev 22614)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/core/test/BirtCoreTestSuite.java	2010-06-07 21:01:42 UTC (rev 22615)
@@ -4,7 +4,10 @@
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
+import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.test.util.TestProjectProvider;
 import org.jboss.tools.tests.AbstractPluginsLoadTest;
+import org.osgi.framework.Bundle;
 
 public class BirtCoreTestSuite extends TestCase {
 
@@ -20,8 +23,8 @@
 		
 		public BirtPluginsLoadTest() {}
 		
-		public void testBirtPluginsAreResolvedAndActivated() {
-			testBundlesAreLoadedFor("org.jboss.tools.birt.feature");
+		public void testOrgJbossToolsBirtCoreResolvedAndActivated() {
+			assertPluginResolved(Platform.getBundle("org.jboss.tools.birt.core"));
 		}
 	}
 }



More information about the jbosstools-commits mailing list