Community
Participate
Working Groups
Build Identifier: 20100617-1415 I often use the refactor -> rename... functionality in eclipse, I also have the habit to name my unit test TestedClassNameTest. But when I rename my tested class I must never forget to rename my unitTest, it would be extremely useful to rename my unit test class automaticly when the tested class is renamed. There's pitty enough no relation in the eclipse model between the junit class and the class who's tested. Reproducible: Always Steps to Reproduce: 1. Click on the class name 2. Press ctrl+shift+r 3. Edit the name of the class. 4. Press enter Result: Everything related to that class has been renamed even the JavaDoc, in exception to the class name of the related unit test. Expected Result: The name of the unit test who is related to that class is also renamed.
Over to JDT
*** This bug has been marked as a duplicate of bug 37937 ***
*** This bug has been marked as a duplicate of bug 44178 ***