Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330516

Summary: Fix failures in JUnits org.eclipse.jst.jee.model.tests.JEE6ModelTest and org.eclipse.jst.jee.model.ejb.tests.EjbAnnotationReaderTest
Product: [WebTools] WTP Java EE Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: jst.j2eeAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, jsholl, kaloyan
Version: unspecified   
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix for JUnits
none
updated patch ccc: iplog+

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