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.
I've experienced this randomly with some builds of NB4.1 last time with build from Nov 30. Create a simple project with couple of classes (interface, package private implementation and class with factory method and private constructor). Then I tried to create tests for various classes and sometimes I get the generated class created under src folder rather than under test/src.
BTW: I run on JDK5.0 and this happened to me on Solaris as well as on Linux.
Accepted, although I have not noticed the described behaviour. Please leave a note the next time it happens so that I know whether it got fixed somehow or it remains to be a problem.
Have you encountered the bug since you filed this bug?
I did not (maybe because I did not used this function too often since I filled the bug).
I have created many test classes since this bug was reported. I have used both the Create Tests dialog and the JUnit wizards. I have not encountered this bug. The bug was probably caused by a bug in another module (probably "projects"). Since the bug is not reproducible now, it seems the bug has been fixed since then. Marking as FIXED.
This is not reproducible both inside nb 5.0fcs and nb6.0 dev 200603141900. (FIXED && TM==4.1) => CLOSED