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

Bug 36037

Summary: Convert local to field: Initialize in TestCase.setUp() [refactoring] [JUnit]
Product: [Eclipse Project] JDT Reporter: Mark Addleman <mark_addleman>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P4 Keywords: helpwanted
Version: 2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Mark Addleman CLA 2003-04-03 14:19:10 EST
Within JUnit tests (anything subclasses TestCase), the "Convert local to field" 
refactoring should provide an option to initialze the field in the setUp() 
method.
Comment 1 Dirk Baeumer CLA 2003-04-04 04:13:24 EST
This needs a special refactoring that is JUnit aware.
Comment 2 Dirk Baeumer CLA 2003-04-25 10:40:58 EDT
No action planned for 3.0
Comment 3 Denis Roy CLA 2009-08-30 02:14:52 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.