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 56660

Summary: Prompt to create a test directory
Product: java Reporter: Vince Kraemer <vkraemer>
Component: JUnitAssignee: Victor Vasilyev <vvg>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: esmithbss, pribyl
Priority: P1 Keywords: UI
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 135145    
Bug Blocks: 50012    

Description Vince Kraemer 2005-03-18 17:50:51 UTC
I created a web application project "with existing sources".

The original source did not have java code, so there wasn't a directory of junit
tests.

I extended to app, by creating a servlet and utility classes.

I decided to create some unit tests for the utility classes.

I used Tools->JUnit Tests->Create Tests to start to add some.

The dialog opens with everything disabled, except for cancel and help.

The dialog contains a message that describes "why" the dialog is disabled.

It would probably be better to give the user a chance to fix the problem...

Open a dialog that lets the user create a directory for their tests.
Comment 1 Marian Petras 2005-03-23 16:05:42 UTC
Confirmed, accepted.
Comment 2 Marian Petras 2005-03-23 16:05:53 UTC
See also bug #56661 ('Missing help at "critical moment"').
Comment 3 pribyl 2008-04-30 16:42:20 UTC
Since the issue 56661 has been fixed (new dialog with information what is actually the problem should appear now), I
guess it solves this issue as well...
Comment 4 Marian Petras 2008-11-26 13:15:07 UTC
This should be finally solved in NB 7.0. Once the necessary API is designed (issue #135145), the fix of this issue
should be simple.
Comment 5 Yulia Novozhilova 2011-04-26 09:48:18 UTC
*** Bug 192356 has been marked as a duplicate of this bug. ***
Comment 6 Yulia Novozhilova 2011-04-26 09:56:02 UTC

*** This bug has been marked as a duplicate of bug 50012 ***