aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2012-01-26 10:48:01 (EST)
committerOleg Besedin2012-01-26 10:48:01 (EST)
commitea1a11b8f86624cb1b6adc39bc11e5d3143bc850 (patch)
treefe70fefa140ececce86220b6831187504097f2d5
parent1f2f0853b4381f71acf93ed9f799ee62c5d8a03e (diff)
downloadeclipse.platform.ui-ea1a11b8f86624cb1b6adc39bc11e5d3143bc850.zip
eclipse.platform.ui-ea1a11b8f86624cb1b6adc39bc11e5d3143bc850.tar.gz
eclipse.platform.ui-ea1a11b8f86624cb1b6adc39bc11e5d3143bc850.tar.bz2
Bug 369660 - Failures in UITestSuite in I20120124-2000v20120126-1548
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/DynamicPluginsTestSuite.java2
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/WorkingSetTests.java11
2 files changed, 12 insertions, 1 deletions
diff --git a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/DynamicPluginsTestSuite.java b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/DynamicPluginsTestSuite.java
index 20d4635..f4ed96b 100644
--- a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/DynamicPluginsTestSuite.java
+++ b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/DynamicPluginsTestSuite.java
@@ -54,7 +54,7 @@ public class DynamicPluginsTestSuite extends TestSuite {
addTest(new TestSuite(ViewTests.class));
addTest(new TestSuite(NewWizardTests.class));
addTest(new TestSuite(ObjectContributionTests.class));
- addTest(new TestSuite(WorkingSetTests.class));
+ addTest(WorkingSetTests.suite());
addTest(new TestSuite(DynamicSupportTests.class));
addTest(new TestSuite(DynamicContributionTest.class));
addTest(new TestSuite(DynamicInvalidContributionTest.class));
diff --git a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/WorkingSetTests.java b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/WorkingSetTests.java
index 5550c20..e3a84e0 100644
--- a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/WorkingSetTests.java
+++ b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/WorkingSetTests.java
@@ -11,6 +11,8 @@
package org.eclipse.ui.tests.dynamicplugins;
+import junit.framework.TestSuite;
+
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IAdaptable;
@@ -28,6 +30,15 @@ import org.osgi.framework.Bundle;
*/
public class WorkingSetTests extends DynamicTestCase {
+ public static TestSuite suite() {
+ TestSuite ts = new TestSuite();
+ //ts.addTest(new WorkingSetTests("testClass"));
+ ts.addTest(new WorkingSetTests("testWorkingSetUpdater"));
+ ts.addTest(new WorkingSetTests("testWorkingSetWithBasicElementAdapter"));
+ ts.addTest(new WorkingSetTests("testWorkingSetWithCustomElementAdapter"));
+ return ts;
+ }
+
/**
* @param testName
*/