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 114817 - control-F6 does not run single unit test in freeform projects
Summary: control-F6 does not run single unit test in freeform projects
Status: RESOLVED DUPLICATE of bug 146200
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 21:37 UTC by rstaff
Modified: 2008-10-17 09:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rstaff 2007-09-05 21:37:06 UTC
In a freeform project, go to Run -> Run File -> Test <File> from an editor tab containing a unit test.  Control-F6 is
listed as the shortcut for this action but it does not do anything.
Comment 1 Jiri Prox 2007-09-06 09:08:35 UTC
I've tested it with 5.5.1 and 6.0 and I have the menuitem  "Test file" disabled for freeform project. 
Comment 2 Milan Kubec 2007-09-06 14:21:38 UTC
That's because the functionality is not implemented for freeform project. You can select the test file in Explorer and
invoke action Run File.
Comment 3 rstaff 2007-09-06 16:42:49 UTC
The menu item works for me on source files that have been added under the Java sources - test package folders section of
the project properties editor, but pressing control-F6 does not do anything.  

However, when I right click on source files in the project explorer that are in test packages the run file (shift-F6)
action is completely disabled.
Comment 4 Milan Kubec 2008-10-17 09:05:18 UTC
Will be fixed by creating target for execution of single test class.

*** This issue has been marked as a duplicate of 146200 ***