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.
Add usage logging for JUnit 3 vs. 4 for both new tests and running existing tests.
Created attachment 139436 [details] proposed fix
Created attachment 139437 [details] proposed fix the correct one
In oder to sync execution/creation of new tests usage statistics a new class is added in gsf.testrunner, namely UnitTestsUsage. This is used by ant/maven junit support modules in order to log junit library usage per project. Please review this change. I will integrate tomorrow if there are no objections as this is needed for 7.4 release. Thank you
(In reply to Theofanis Oikonomou from comment #3) > In oder to sync execution/creation of new tests usage statistics a new class > is added in gsf.testrunner, namely UnitTestsUsage. This is used by ant/maven > junit support modules in order to log junit library usage per project. > Please review this change. I will integrate tomorrow if there are no > objections as this is needed for 7.4 release. Thank you JR01: Make the UnitTestsUsage JR02: Don't forget to increase the spec. versions and document it in the API changes document
(In reply to Jiri Rechtacek from comment #4) > (In reply to Theofanis Oikonomou from comment #3) > > In oder to sync execution/creation of new tests usage statistics a new class > > is added in gsf.testrunner, namely UnitTestsUsage. This is used by ant/maven > > junit support modules in order to log junit library usage per project. > > Please review this change. I will integrate tomorrow if there are no > > objections as this is needed for 7.4 release. Thank you > > JR01: Make the UnitTestsUsage JR01: Make the UnitTestsUsage _final_
Created attachment 139483 [details] proposed fix updated the patch based on comments JR01 and JR02. I will integrate later today if there are no more comments. Thank you
Fixed: http://hg.netbeans.org/core-main/rev/66b4b7cec11d
Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/66b4b7cec11d User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #235112 - Add logging for version