Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 186105 Details for
Bug 331909
[Workbench] Intermittent test failure in PlatformUITest.testWithoutDisplayAccess_sync()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
defined order v01
bug331909-v01.txt (text/plain), 2.54 KB, created by
Paul Webster
on 2011-01-05 12:58:16 EST
(
hide
)
Description:
defined order v01
Filename:
MIME Type:
Creator:
Paul Webster
Created:
2011-01-05 12:58:16 EST
Size:
2.54 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.tests.rcp >Index: Eclipse RCP Tests/org/eclipse/ui/tests/rcp/PlatformUITest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/PlatformUITest.java,v >retrieving revision 1.12 >diff -u -r1.12 PlatformUITest.java >--- Eclipse RCP Tests/org/eclipse/ui/tests/rcp/PlatformUITest.java 25 May 2009 20:52:18 -0000 1.12 >+++ Eclipse RCP Tests/org/eclipse/ui/tests/rcp/PlatformUITest.java 5 Jan 2011 17:57:32 -0000 >@@ -12,6 +12,7 @@ > > import junit.framework.Assert; > import junit.framework.TestCase; >+import junit.framework.TestSuite; > > import org.eclipse.swt.widgets.Display; > import org.eclipse.ui.PlatformUI; >@@ -19,6 +20,20 @@ > import org.eclipse.ui.tests.rcp.util.WorkbenchAdvisorObserver; > > public class PlatformUITest extends TestCase { >+ public static TestSuite suite() { >+ TestSuite suite = new TestSuite(); >+ suite.addTest(new PlatformUITest("testEarlyGetWorkbench")); >+ suite.addTest(new PlatformUITest("testCreateDisplay")); >+ suite.addTest(new PlatformUITest("testCreateAndRunWorkbench")); >+ suite.addTest(new PlatformUITest("testCreateAndRunWorkbenchWithExceptionOnStartup")); >+ suite.addTest(new PlatformUITest("testStartupThreading")); >+ suite.addTest(new PlatformUITest("testDisplayAccess_sync")); >+ suite.addTest(new PlatformUITest("testDisplayAccess_async")); >+ suite.addTest(new PlatformUITest("testWithoutDisplayAccess_sync")); >+ suite.addTest(new PlatformUITest("testWithoutDisplayAccess_async")); >+ suite.addTest(new PlatformUITest("testDisplayAccessInUIThreadAllowed")); >+ return suite; >+ } > > public PlatformUITest(String testName) { > super(testName); >Index: Eclipse RCP Tests/org/eclipse/ui/tests/rcp/RcpTestSuite.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.tests.rcp/Eclipse RCP Tests/org/eclipse/ui/tests/rcp/RcpTestSuite.java,v >retrieving revision 1.8 >diff -u -r1.8 RcpTestSuite.java >--- Eclipse RCP Tests/org/eclipse/ui/tests/rcp/RcpTestSuite.java 8 May 2006 20:56:28 -0000 1.8 >+++ Eclipse RCP Tests/org/eclipse/ui/tests/rcp/RcpTestSuite.java 5 Jan 2011 17:57:32 -0000 >@@ -26,7 +26,7 @@ > } > > public RcpTestSuite() { >- addTest(new TestSuite(PlatformUITest.class)); >+ addTest(PlatformUITest.suite()); > addTest(new TestSuite(WorkbenchAdvisorTest.class)); > addTest(new TestSuite(WorkbenchConfigurerTest.class)); > addTest(new TestSuite(WorkbenchWindowConfigurerTest.class));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 331909
: 186105