Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Dahyabhai2013-10-15 23:28:22 -0400
committerNitin Dahyabhai2013-12-07 22:24:46 -0500
commitb6fde930323a01ee3ca81314e399a0d47bab6422 (patch)
tree51011a5b8b6422dafeb34c9a6494caaaa1cdec5b /development
parent658eec0cf231cee7435fda09b102b926151c1a2d (diff)
downloadwebtools.sourceediting-b6fde930323a01ee3ca81314e399a0d47bab6422.tar.gz
webtools.sourceediting-b6fde930323a01ee3ca81314e399a0d47bab6422.tar.xz
webtools.sourceediting-b6fde930323a01ee3ca81314e399a0d47bab6422.zip
[nobug] MasterListTestSuite should show system jobs in progress dialog
Diffstat (limited to 'development')
-rw-r--r--development/org.eclipse.wst.sse.unittests/META-INF/MANIFEST.MF2
-rw-r--r--development/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch3
-rw-r--r--development/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java5
3 files changed, 8 insertions, 2 deletions
diff --git a/development/org.eclipse.wst.sse.unittests/META-INF/MANIFEST.MF b/development/org.eclipse.wst.sse.unittests/META-INF/MANIFEST.MF
index 25d4679ae..2ba86d9ae 100644
--- a/development/org.eclipse.wst.sse.unittests/META-INF/MANIFEST.MF
+++ b/development/org.eclipse.wst.sse.unittests/META-INF/MANIFEST.MF
@@ -10,6 +10,8 @@ Export-Package: org.eclipse.wst.sse.unittests,
org.eclipse.wst.sse.unittests.minortools
Require-Bundle: org.junit;bundle-version="3.8.0",
org.eclipse.core.runtime,
+ org.eclipse.ui.workbench;bundle-version="3.1.0",
+ org.eclipse.jface,
org.eclipse.wst.css.tests.encoding;resolution:=optional,
org.eclipse.wst.css.core.tests;resolution:=optional,
org.eclipse.wst.css.ui.tests;resolution:=optional,
diff --git a/development/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch b/development/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch
index 582c9cab4..549d291fa 100644
--- a/development/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch
+++ b/development/org.eclipse.wst.sse.unittests/SSE Master List Test Suite.launch
@@ -27,12 +27,13 @@
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/>
+<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.wst.sse.unittests.MasterListTestSuite"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -showLocation -consoleLog"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.wst.sse.unittests"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms100M -Xmx600M -XX:MaxPermSize=192M"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms128M -Xmx1024M -XX:MaxPermSize=224M"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
<booleanAttribute key="run_in_ui_thread" value="true"/>
diff --git a/development/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java b/development/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java
index e45e8584f..17fdf9e34 100644
--- a/development/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java
+++ b/development/org.eclipse.wst.sse.unittests/src/org/eclipse/wst/sse/unittests/MasterListTestSuite.java
@@ -20,6 +20,8 @@ import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jst.jsp.core.tests.JSPCoreTestSuite;
import org.eclipse.jst.jsp.ui.tests.JSPUITestSuite;
+import org.eclipse.ui.IWorkbenchPreferenceConstants;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.wst.css.core.tests.CSSCoreTestSuite;
import org.eclipse.wst.css.ui.tests.CSSUITestSuite;
import org.eclipse.wst.dtd.core.tests.DTDCoreTestSuite;
@@ -45,7 +47,8 @@ public class MasterListTestSuite extends TestSuite {
super("WTP Source Editing Master List Test Suite");
System.setProperty("wtp.autotest.noninteractive", "true");
-
+ PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_SYSTEM_JOBS, true);
+
addTest(SSEModelTestSuite.suite());
addTest(SSEModelXMLTestSuite.suite());

Back to the top