This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225936

Summary: Rename Method Refactoring Should Rename Test Method When Needed
Product: java Reporter: mjr_1974 <mjr_1974>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description mjr_1974 2013-02-09 15:14:15 UTC
Product Version = NetBeans IDE 7.3 RC1 (Build 201301240957)
Operating System = Linux version 3.7.5-030705-generic running on amd64
Java; VM; Vendor = 1.7.0_13
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

If a test class exists for the class in which a method is being renamed, then renaming refactoring should search for both the exact method name and the method name ended in "Test" and offer to rename them as well, to help keeping test and base code in sync.
Comment 1 Marian Mirilovic 2013-02-10 08:24:36 UTC
Dup of already report bugs ... just can't find the exact issue ....
Comment 2 Theofanis Oikonomou 2013-02-11 09:37:55 UTC

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