Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 75990 - New JUnit Test Case Wizard import inserted before file comment [JUnit]
Summary: New JUnit Test Case Wizard import inserted before file comment [JUnit]
Status: RESOLVED DUPLICATE of bug 130889
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 15:41 EDT by Sebastian Davids CLA
Modified: 2006-06-24 03:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Davids CLA 2004-10-09 15:41:45 EDT
The setting under Java/Code Style/Code Templates/New Java File should be respected.

Version: 3.1.0
Build id: 200410050800

@@

import junit.framework.TestCase;
/*
 * Created on 09.10.2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author Sebastian Davids
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ATest extends TestCase {

}

@@

Should be:

@@


/*
 * Created on 09.10.2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
import junit.framework.TestCase;

/**
 * @author Sebastian Davids
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ATest extends TestCase {

}
Comment 1 Erich Gamma CLA 2006-05-24 05:48:33 EDT
Moving back to the JDT/UI inbox
Comment 2 Martin Aeschlimann CLA 2006-06-24 03:37:05 EDT

*** This bug has been marked as a duplicate of 130889 ***