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.
junit.framework.AssertionFailedError: nbproject/project.properties noticed expected:<5> but was:<0> at org.netbeans.modules.apisupport.project.ui.ModuleLogicalViewTest.testImportantFilesListening(ModuleLogicalViewTest.java:61)
Recent. Related to deadlock fixes you made, perhaps? BTW for getNodes() use getNodes(true) and for getNodesCount() (a useless method if I ever saw one) use getNodes(true).length.
Quick fix, review and maybe refine, and check for status in 5.0u1 branch: Checking in ModuleLogicalViewTest.java; /shared/data/ccvs/repository/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/ModuleLogicalViewTest.java,v <-- ModuleLogicalViewTest.java new revision: 1.8; previous revision: 1.7 done
Thanks. I'll eventually backport. > BTW for getNodes() use getNodes(true)... Yup, I'm still little confused by all that happening in the Nodes and Children and when and how it really works. I'll try to remember those hints.
Also the 'ping' is needed which enqueue refreshing into RP so the second time the fork is prevented. (refresh, flush, no_forked_get) test/unit/ui/ModuleLogicalViewTest.java; 1.8 -> 1.9;
test/unit/ui/ModuleLogicalViewTest.java; 1.6.2.1 -> 1.6.2.2;