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

Summary: Create tests fails if there is no test folder
Product: java Reporter: _ rkubacki <rkubacki>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: vkraemer
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 135145, 50173, 56660    
Bug Blocks:    
Attachments: the exception thrown

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