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 50012 - Create tests fails if there is no test folder
Summary: Create tests fails if there is no test folder
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
: 56660 (view as bug list)
Depends on: 135145 50173 56660
Blocks:
  Show dependency tree
 
Reported: 2004-10-06 13:30 UTC by _ rkubacki
Modified: 2013-09-04 14:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
the exception thrown (1.49 KB, text/plain)
2004-10-08 14:50 UTC, Ondrej Rypacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-10-06 13:30:24 UTC
dev build from Oct 6, 2004, JDK 1.5.0b64, Linux

open a project that is checked out from CVS so it
does not contain test folder because of pruning
(cvs up -d -P) and try to create a test. The
action fails with some exceptions.
Comment 1 Ondrej Rypacek 2004-10-08 14:50:55 UTC
Created attachment 18169 [details]
the exception thrown
Comment 3 Ondrej Rypacek 2004-10-12 10:45:47 UTC
The fix by creating the folder on-line didn't work reliably. I changed
it to a mere messagebox about the missing folder. 

http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/CreateTestAction.java.diff?r1=1.33&r2=1.34
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/Bundle.properties.diff?r1=1.46&r2=1.47
Comment 4 Martin Schovanek 2004-11-16 15:24:01 UTC
The fix is working well but the solution with message box is not so
confortable. After discussion with Ondra we agreed to try reintroduce
the fix with creating the missing folder.

Reopened as enhacement.


Comment 5 Alexei Mokeev 2009-10-19 08:43:27 UTC
Final resolution is yet blocked by issue 135145
Comment 6 Yulia Novozhilova 2011-04-26 09:56:02 UTC
*** Bug 56660 has been marked as a duplicate of this bug. ***
Comment 7 Theofanis Oikonomou 2013-09-04 14:44:38 UTC
This is no longer the case. Test creation does not fail if there is no test folder yet, at least in latest build. Closing this one. Thank you for reporting