Author: dgolovin
Date: 2010-05-26 18:34:56 -0400 (Wed, 26 May 2010)
New Revision: 22347
Added:
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/Debug.java
Log:
https://jira.jboss.org/browse/JBDS-1202 problems running tests
ResourceUtils importProject distinguish import form plug-in distributed as jar or unpacked
jar
Added: trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/Debug.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/Debug.java
(rev 0)
+++
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/Debug.java 2010-05-26
22:34:56 UTC (rev 22347)
@@ -0,0 +1,17 @@
+package org.jboss.tools.test.util;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.tests.TestsPlugin;
+
+public class Debug {
+ public static final boolean DEBUG_IMPORT_OPERATION;
+
+ static {
+ DEBUG_IMPORT_OPERATION = true; //getDebugOption("/debug/importProject");
+ }
+
+ private static boolean getDebugOption(String option) {
+ return "true".equalsIgnoreCase(Platform.getDebugOption(TestsPlugin.ID +
option)); //$NON-NLS-1$
+ }
+}
Property changes on:
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/Debug.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain