Author: snjeza
Date: 2010-12-28 19:41:18 -0500 (Tue, 28 Dec 2010)
New Revision: 27788
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
Log:
JBIDE-7989 Maven bot test plugin has no runnable tests
Modified: trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-28
23:55:00 UTC (rev 27787)
+++ trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/META-INF/MANIFEST.MF 2010-12-29
00:41:18 UTC (rev 27788)
@@ -23,15 +23,29 @@
org.jboss.tools.maven.seam,
org.jboss.tools.maven.ui,
org.eclipse.wst.server.core,
- org.eclipse.datatools.connectivity;visibility:=reexport,
+ org.eclipse.datatools.connectivity,
org.eclipse.datatools.connectivity.db.generic,
org.jboss.tools.common,
org.jboss.tools.tests,
- org.maven.ide.eclipse;bundle-version="0.10.0",
+ org.maven.ide.eclipse;bundle-version="0.12.0",
org.jboss.ide.eclipse.as.core,
- org.maven.ide.eclipse.maven_model_edit;bundle-version="0.10.0",
+ org.maven.ide.eclipse.maven_model_edit;bundle-version="0.12.0",
org.hamcrest,
- org.jboss.tools.ui.bot.ext
+ org.eclipse.datatools.enablement.hsqldb,
+ org.eclipse.datatools.enablement.hsqldb.dbdefinition,
+ org.eclipse.datatools.enablement.hsqldb.ui,
+ org.maven.ide.eclipse.archetype_common;bundle-version="0.12.0",
+ org.maven.ide.eclipse.dependency_tree;bundle-version="0.12.0",
+ org.maven.ide.eclipse.editor;bundle-version="0.12.0",
+ org.maven.ide.eclipse.editor.xml;bundle-version="0.12.0",
+ org.maven.ide.eclipse.launching;bundle-version="0.12.0",
+ org.maven.ide.eclipse.nexus_indexer;bundle-version="0.12.0",
+ org.maven.ide.eclipse.pr;bundle-version="0.12.0",
+ org.maven.ide.eclipse.refactoring;bundle-version="0.12.0",
+ org.eclipse.jst.jee,
+ org.eclipse.jst.jee.ejb,
+ org.eclipse.jst.jee.ui,
+ org.eclipse.jst.jee.web
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Eclipse-RegisterBuddy: org.apache.log4j
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java
===================================================================
---
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-28
23:55:00 UTC (rev 27787)
+++
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/CreateMavenizedSeamProjectTest.java 2010-12-29
00:41:18 UTC (rev 27788)
@@ -587,16 +587,18 @@
});
assertTrue(libs.length == 0);
File libDirectory = new File (rootDirectory,"lib");
- libs = libDirectory.list(new FilenameFilter() {
-
- public boolean accept(File dir, String name) {
- if (name.endsWith(".jar")) {
- return true;
+ if (libDirectory.isDirectory()) {
+ libs = libDirectory.list(new FilenameFilter() {
+
+ public boolean accept(File dir, String name) {
+ if (name.endsWith(".jar")) {
+ return true;
+ }
+ return false;
}
- return false;
- }
- });
- assertTrue(libs.length == 0);
+ });
+ assertTrue(libs.length == 0);
+ }
}
}
Modified:
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java
===================================================================
---
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-28
23:55:00 UTC (rev 27787)
+++
trunk/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java 2010-12-29
00:41:18 UTC (rev 27788)
@@ -1,6 +1,5 @@
package org.jboss.tools.maven.ui.bot.test;
-import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -10,10 +9,10 @@
*
*/
-(a)RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateMavenizedSeamProjectTest.class,
})
+(a)RunWith(Suite.class)
public class MavenAllBotTests {
}
\ No newline at end of file
Show replies by date