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.
Summary: | ChildrenFilterAsKeysTest: testNoReorderEventJustAdd | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Nodes | Assignee: | Jaroslav Tulach <jtulach> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | TEST |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jaroslav Tulach
2004-12-16 09:45:10 UTC
Another failure: testComplexReorderAndAddAndRemoveEvent: junit.framework.AssertionFailedError: Removed index 0 Cannot be empty at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertFalse(Assert.java:34) at org.openide.nodes.ChildrenKeysTest$Listener.checkOneEvent(ChildrenKeysTest.java:710) at org.openide.nodes.ChildrenKeysTest$Listener.assertRemoveEvent(ChildrenKeysTest.java:667) at org.openide.nodes.ChildrenKeysTest.testComplexReorderAndAddAndRemoveEvent(ChildrenKeysTest.java:373) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:119) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127) at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) cvs -q ci -m "#52540: We need to keep the nodes otherwise they can get garbage collected and the listeners will not be notified then" Checking in test/unit/src/org/openide/nodes/ChildrenKeysTest.java; /cvs/openide/test/unit/src/org/openide/nodes/ChildrenKeysTest.java,v <-- ChildrenKeysTest.java new revision: 1.14; previous revision: 1.13 verified (test passed) |