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.
testSetDelegatesFiring: junit.framework.AssertionFailedError: expected:<1> but was:<0> 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 junit.framework.Assert.assertEquals(Assert.java:201) at junit.framework.Assert.assertEquals(Assert.java:207) at org.openide.filesystems.MultiFileSystemRefreshTest.testSetDelegatesFiring(MultiFileSystemRefreshTest.java:71) 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) 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:173) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:129) at org.netbeans.xtest.testrunner.JvmJUnitTestRunnerLauncher.main(JvmJUnitTestRunnerLauncher.java:41)
Works for me on Windows and also "Test evaluation page" doesn't mention this test among failures.
Sorry I am not running windows, just a linux and I've got the failure again today (I see it everytime I run openide tests).
I used Test4u for testing it on Linux a few times and there were no failures in filesystems.
Maybe it is not visible on other computers, but it is on mine. Everytime I run the test. It is not random.
yes this test fails only on linux
When there was externaly deleted (or something like setDelegates on MFS) FileObject that already was garbage collected then no event was fired. /cvs/openide/src/org/openide/filesystems/AbstractFolder.java, new revision: 1.82; previous revision: 1.81
Fixed.
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.