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.
Test Case: testLeafNodeReallyNotDisplayed Test Suite: org.openide.explorer.view. ContextTreeViewTest Module Name: openide
Created attachment 17434 [details] test's log
Yarda, can't this be related to your fix in Children?
I doubt. I have run all openide tests and this one passed. Moreover I do not think anyone is calling Children.Keys.refreshKey in this test. Is this not related to some AWT vs. other thread magic?
In the log, it is failure ot the test, not of the tested behaviour. Anyway, I can't reproduce the failure. I've slightly modified the test and hope it will work correctly next time. At least I've fixed the error message (it was backwards).
v
The test failed again: [jdk1.5rc][linux] testLeafNodeReallyNotDisplayed: junit.framework.AssertionFailedError: There is root expected:<test root> but was:<null> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:282) at junit.framework.Assert.assertEquals(Assert.java:64) at org.openide.explorer.view.ContextTreeViewTest.testLeafNodeReallyNotDisplayed(ContextTreeViewTest.java:89) 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:324)
Problem in the test. Somehow the ctv.addNotify is not called even after 10s? Petr, can you imagine what is wrong?
Don't know. I've never seen it failed and it fails randomly even on the test machine. Machine under heavy load?
Let's pretend it works - no failure for a month or so.