aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2012-01-26 10:48:01 (EST)
committerPaul Webster2012-01-26 11:04:29 (EST)
commit94fa9757168a9aeabaa5b1728b7b0a7aa4d98310 (patch)
tree83246cb91a636b8456d006e09ad06c44bb218552
parent89673a1fae60733997d99ae1d06e104d30c03533 (diff)
downloadeclipse.platform.ui-94fa9757168a9aeabaa5b1728b7b0a7aa4d98310.zip
eclipse.platform.ui-94fa9757168a9aeabaa5b1728b7b0a7aa4d98310.tar.gz
eclipse.platform.ui-94fa9757168a9aeabaa5b1728b7b0a7aa4d98310.tar.bz2
Bug 369660 - Failures in UITestSuite in I20120124-2000
-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
*/