[jbosstools-commits] JBoss Tools SVN: r43719 - 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
Fri Sep 14 16:50:49 EDT 2012
Author: snjeza
Date: 2012-09-14 16:50:49 -0400 (Fri, 14 Sep 2012)
New Revision: 43719
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java
Log:
JBIDE-12624 - Test failures in org.jboss.tools.project.examples.test
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2012-09-14 20:15:37 UTC (rev 43718)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/ProjectExamplesActivator.java 2012-09-14 20:50:49 UTC (rev 43719)
@@ -370,7 +370,7 @@
public IImportProjectExample getImportProjectExample(String importType) {
initImportProjectExamples();
- if (importType == null) {
+ if (importType == null || ProjectExample.IMPORT_TYPE_ZIP.equals(importType)) {
return defaultImportProjectExample;
}
return importProjectExamplesMap.get(importType);
Modified: trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java
===================================================================
--- trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java 2012-09-14 20:15:37 UTC (rev 43718)
+++ trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectExamplesUtil.java 2012-09-14 20:50:49 UTC (rev 43719)
@@ -59,7 +59,7 @@
*/
public class ProjectExamplesUtil {
- public static final int IDLE_TIME = 60000;
+ public static final int IDLE_TIME = 60 * 1000;
public static final String CONNECTION_PROFILE_NAME = "DefaultDS";
More information about the jbosstools-commits
mailing list