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.
Windows only Scenario: - Create Quote - Select cpu.cc file - Create C++ Simple Test (select all nodes in wizard) ==> test can't be built
Created attachment 108801 [details] screenshot
The reason is that file.getAbsolutePath() returns path with back slashes ("\") on Windows. In previous releases we have assumption that all pathes do not contain back slashes.
tests are not ready for file objects. will change
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=2d93cb571908 use FSPath instead of String
I reviewed the fix. It is correct and safe.
verified in trunk build 201106170600
http://hg.netbeans.org/releases?cmd=changeset;node=52ed11d1ac60
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/2d93cb571908 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #199267 - Windows: IDE generates invalid test file
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/52ed11d1ac60 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #199267 - Windows: IDE generates invalid test file (transplanted from 2d93cb5719087e8263acfb73842c3f560360afd3)