Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337707 - [JUnit] JUnitJunitTests depend on the method ordering
Summary: [JUnit] JUnitJunitTests depend on the method ordering
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 342688
  Show dependency tree
 
Reported: 2011-02-21 06:51 EST by Dani Megert CLA
Modified: 2011-04-27 15:49 EDT (History)
0 users

See Also:


Attachments
Fix (13.09 KB, patch)
2011-04-27 13:32 EDT, Markus Keller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-02-21 06:51:39 EST
HEAD.

The JUnitJunitTests depend on the method ordering. We were just lucky that they all passed on different JREs so far but not some of them fail on JRE 1.7.
Comment 1 Markus Keller CLA 2011-02-21 08:10:30 EST
The problem is probably not the order of the tests themselves, but the order of the tests that are executed by the JUnitJunitTests (in the 3rd VM).

Solution will be to use OrderedTestSuite also in the 3rd VM.
Comment 2 Markus Keller CLA 2011-04-27 13:32:15 EDT
Created attachment 194186 [details]
Fix

Also needs re-generated rtstubs15.jar and rtstubs16.jar (the old ones are missing annotations).
Comment 3 Markus Keller CLA 2011-04-27 15:49:17 EDT
Fixed for I20110427-1800.