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 - generate tests action should be disabled when classpath scan is in progress
Summary: generate tests action should be disabled when classpath scan is in progress
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks: 80630 80632
  Show dependency tree
 
Reported: 2006-07-20 12:53 UTC by Jiri Prazak
Modified: 2007-06-10 21:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.