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.
Product Version: NetBeans IDE Dev (Build 201005191833) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Linux version 2.6.28-18-generic running on i386; UTF-8; en_US (nb) ---------------------------------------------------------- -- create Quote project -- open cpu.cpp -- click on Cpu::GetType() and right-click -- select Create Test --> New CppUnit Test ... ==> Some cppunit files were generated -- open newclasstest.cpp from Test Files folder You can see the following code: void testGetCategory() { Cpu cpu; const char* result = cpu.GetCategory(); if(true /*check result*/) { CPPUNIT_ASSERT(false); } } but should be void newtestclass::testGetCategory() { Cpu cpu; const char* result = cpu.GetCategory(); if(true /*check result*/) { CPPUNIT_ASSERT(false); } }
Fix: http://hg.netbeans.org/cnd-main/rev/c9b856c8c2bc
I think it's a showstopper.
What does QA think?
After discussion the bug was accepted as a showstopper as it's a highly visible defect in the new target feature.
please review the fix
I've reviewed the fix. It is correct and safe.
verified in rc1 with new org-netbeans-modules-cnd-cncppunit.jar
The fix has been transplanted to release69: http://hg.netbeans.org/release69/rev/3cd399457ad7
verified in RC1