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

Bug 160970

Summary: JUnit code generator disallows default package
Product: z_Archived Reporter: Joe Toomey <jptoomey>
Component: TPTPAssignee: Nédélec Patrick <nedelec>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Joe Toomey CLA 2006-10-14 22:33:06 EDT
The JUnit code generator now disallows the use of the default package.  This has always been discouraged but allowed in the past (and was part of the standard JUnit test pass.)  The message displayed is "A problem was found with the package name: A package name must not be empty.  The code for this testsuite cannot be generated until you adjust the package name."
Comment 1 Paul Slauenwhite CLA 2006-10-20 14:53:10 EDT
Please target to 4.4 since all non-blocking/critical defects will be deferred as decided in today's AG call.
Comment 2 Julien Canches CLA 2006-11-15 10:18:51 EST
*** Bug 164634 has been marked as a duplicate of this bug. ***
Comment 3 Paul Slauenwhite CLA 2006-11-15 10:30:42 EST
Julien, please increase the severity to major to reflect the 164634 duplicate defect.  Also, please set the priority to P1.
Comment 4 Paul Slauenwhite CLA 2007-01-16 10:26:06 EST
Reassigning to the component leads to triage for 4.4.
Comment 5 Nédélec Patrick CLA 2007-02-08 12:37:03 EST
The use of the default package for the source under test is allowed.
In addition to the fix for bug 158317, this fix marks the comeback of the default package as source package for a test.
Comment 6 Nédélec Patrick CLA 2007-02-09 04:59:29 EST
Roll back to previous version of source code because of the test pass
timeframe.
Target updated to 4.4i2
Comment 7 Nédélec Patrick CLA 2007-02-09 05:01:27 EST
Created attachment 58641 [details]
Fix
Comment 8 Nédélec Patrick CLA 2007-02-27 07:20:20 EST
Patch applied.
Comment 9 Nédélec Patrick CLA 2007-03-23 09:16:52 EDT
Updating hours worked
Comment 10 Paul Slauenwhite CLA 2007-06-02 14:51:41 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 11 Joe Toomey CLA 2007-07-10 15:53:46 EDT
Verified in 4.4.  Closing.