Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313421 - [junit] Web3AnnotationReaderTest are failing
Summary: [junit] Web3AnnotationReaderTest are failing
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC2   Edit
Assignee: Dimitar Giormov CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 14:46 EDT by Carl Anderson CLA
Modified: 2010-05-19 07:00 EDT (History)
0 users

See Also:


Attachments
fixes java version for java ee 6 projects to be java 6 in junit tests (3.54 KB, patch)
2010-05-19 06:17 EDT, Dimitar Giormov CLA
no flags Details | Diff
added fixes for failing tests. (4.68 KB, patch)
2010-05-19 06:52 EDT, Dimitar Giormov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2010-05-18 14:46:48 EDT
Due to the changes in bug 311556, Java 6 is now required for Web 3.0.  However, when Web3AnnotationReaderTest.setupProject() is called, it calls to AbstractTest.createWebProject(), which specifies Java 5.  This causes the project to fail to be created, which causes all of the tests in Web3AnnotationReaderTest to fail.
Comment 1 Kaloyan Raev CLA 2010-05-19 03:17:01 EDT
Dimitar, can you check this tests? 
I cannot make them running at all...
Comment 2 Dimitar Giormov CLA 2010-05-19 06:17:32 EDT
Created attachment 169084 [details]
fixes java version for java ee 6 projects to be java 6 in junit tests

This fixes the original problem, but after it there are still 2 tests that fail, because of missing event from the model.
Comment 3 Dimitar Giormov CLA 2010-05-19 06:52:45 EDT
Created attachment 169088 [details]
added fixes for failing tests.
Comment 4 Dimitar Giormov CLA 2010-05-19 07:00:58 EDT
committed and released in HEAD.