Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330516 - Fix failures in JUnits org.eclipse.jst.jee.model.tests.JEE6ModelTest and org.eclipse.jst.jee.model.ejb.tests.EjbAnnotationReaderTest
Summary: Fix failures in JUnits org.eclipse.jst.jee.model.tests.JEE6ModelTest and org....
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Roberto Sanchez Herrera CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 15:13 EST by Roberto Sanchez Herrera CLA
Modified: 2011-01-10 11:01 EST (History)
3 users (show)

See Also:


Attachments
Fix for JUnits (4.48 KB, text/plain)
2010-11-17 15:15 EST, Roberto Sanchez Herrera CLA
no flags Details
updated patch (4.88 KB, patch)
2010-11-23 09:00 EST, Jason Sholl CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Sanchez Herrera CLA 2010-11-17 15:13:34 EST
Build Identifier: M-3.2.3-20101104214751

The JUnits org.eclipse.jst.jee.model.tests.JEE6ModelTest and org.eclipse.jst.jee.model.ejb.tests.EjbAnnotationReaderTest are failing when running as part of the org.eclipse.wtp.j2ee.headless.tests.plugin.AllPluginTests() suite. 


Reproducible: Always
Comment 1 Roberto Sanchez Herrera CLA 2010-11-17 15:15:40 EST
Created attachment 183339 [details]
Fix for JUnits 

For JEE6ModelTest, the fix consists on setting the correct version of the jst.java facet. For EjbAnnotationReaderTest, the fix consist on cleaning the workspace before each test.
Comment 2 Jason Sholl CLA 2010-11-23 09:00:15 EST
Created attachment 183664 [details]
updated patch

updated previous patch to use IModuleConstants for 'jst.java'
Comment 3 Jason Sholl CLA 2010-11-23 09:02:49 EST
Code checked into 32M and HEAD for WTP 3.2.3 and 3.3