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 80712

Summary: generate tests action should be disabled when classpath scan is in progress
Product: java Reporter: Jiri Prazak <bohemius>
Component: JUnitAssignee: Marian Petras <mpetras>
Status: RESOLVED WONTFIX    
Severity: blocker CC: lhasik
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 80630, 80632    

Description Jiri Prazak 2006-07-20 12:53:57 UTC
The generate tests action should be disabled when the classpath scan process is
in progress.  I have an issue which is difficult to reproduce and is caused by
certain classes not being available to mdr when they should be.  The only reason
I can see this happening is because the actual classes have not been scanned
into the mdr.
Comment 1 Jiri Prazak 2006-09-11 16:05:57 UTC
After further discussion with others it would make more sense to display a
progress bar dialog which would have a cancel button and would appear before the
Options dialog does.  If we would simply disable the action, users might not
know the cause for the unavailability.
Comment 2 Marian Petras 2007-01-17 17:40:16 UTC
MDR is not used any more so this issue needs to be re-evaluated.

I tried to invoke action Create Tests before scanning of the JDK finished and
the test generator waited (with a progress message) until scanning JDK finished.
Comment 3 Marian Petras 2007-03-23 15:57:03 UTC
Accepted.
Comment 4 Jiri Prazak 2007-06-10 21:25:39 UTC
wont fix for 55. this problem should be eliminated using the new java framework.