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 52153 - Do not skip package-private classes by default
Summary: Do not skip package-private classes by default
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: junit-issues@java
URL:
Keywords: USABILITY
Depends on: 51972
Blocks:
  Show dependency tree
 
Reported: 2004-12-07 13:08 UTC by Marian Petras
Modified: 2008-11-25 20:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch (175 bytes, application/octet-stream)
2006-06-13 11:07 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2004-12-07 13:08:17 UTC
Change the default value of option "Include
Package Private Classes" to <true>.
Comment 1 Marian Petras 2004-12-07 13:09:27 UTC
This bug originally identified by a reporter of bug #51972 ("No
reasonable message when test generation is skipped").
Comment 2 Marian Petras 2004-12-08 07:54:35 UTC
Workaround:

When NetBeans is started, change the option so that package-private
classes are not skipped:

1) Open the Options window (select Tools|Options from the main menu).
2) Select node Testing|JUnit Module Settings
3) Select checkbox labeled "Include Package Private Classes".
4) Close the Options window.
Comment 3 Max Sauer 2006-03-24 11:04:31 UTC
The issue is still valid inside nb6.0dev 200603141900 build. Changing TM to TBD.
Comment 4 Max Sauer 2006-06-13 11:06:30 UTC
Can this be fixed? It shouldn't be difficult.
Comment 5 Max Sauer 2006-06-13 11:07:38 UTC
Created attachment 30992 [details]
patch
Comment 6 Max Sauer 2006-06-13 11:09:27 UTC
I've added a patch for 
/junit/src/org/netbeans/modules/junit/JUnitSettings.java
Comment 7 Jiri Vagner 2007-03-21 15:54:36 UTC
It looks fixed in NetBeans 6.0 IDE Dev (Build 200703201900)
Comment 8 pribyl 2008-04-30 14:38:55 UTC
It works correctly in NetBeans IDE Dev (Build 200804300003)
Comment 9 ulfzibis 2008-05-05 12:25:03 UTC
Works for me in NB 6.1. ;-)
Comment 10 Marian Petras 2008-11-25 20:16:28 UTC
The change was done by a mistake during transition of the settings code to the new Preferences API - see issue #87988.
So it is fixed since NetBeans 6.0.