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.

Bug 40844 - MFSRT.testSetDelegatesFiring failed
Summary: MFSRT.testSetDelegatesFiring failed
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-03-09 08:03 UTC by Jaroslav Tulach
Modified: 2008-12-22 22:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-03-09 08:03:34 UTC
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)
Comment 1 rmatous 2004-06-23 12:47:59 UTC
Works for me on Windows and also "Test evaluation page" doesn't
mention this test among failures.
Comment 2 Jaroslav Tulach 2004-06-23 14:29:35 UTC
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).
Comment 3 rmatous 2004-06-23 17:16:37 UTC
I used Test4u for testing it on Linux a few times and there were no
failures in filesystems. 
Comment 4 Jaroslav Tulach 2004-06-24 12:14:19 UTC
Maybe it is not visible on other computers, but it is on mine.
Everytime I run the test. It is not random.
Comment 5 pzajac 2004-06-24 15:20:27 UTC
yes this test fails only on linux
Comment 6 rmatous 2004-09-24 10:21:59 UTC
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
Comment 7 rmatous 2004-09-24 10:24:40 UTC
Fixed.
Comment 8 Marian Mirilovic 2005-12-20 15:52:45 UTC
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.