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.
Created attachment 146862 [details] Sample project Product Version: NetBeans IDE 8.0 (Build 201403101706) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.11.0-19-generic running on amd64; UTF-8; en_US (nb) ----- To reproduce the issue, just unpack the attached project and rename the method getValue to getValueX. The result will be that the dataprovider method is remaned instead of test method. IMO the method annotated with @Test should be renamed instead of @DataProvider one.
Changeset: e9739cc91474 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2014-07-16 17:43 Message:
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e9739cc91474 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #243970 - Method name refactoring does not rename the correct test method