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 48593 - failure in testSerFileChange
Summary: failure in testSerFileChange
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-09-07 14:34 UTC by pzajac
Modified: 2008-12-22 18:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (1.50 KB, text/plain)
2004-09-07 14:35 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-09-07 14:34:09 UTC
[200409051800]
testSerFileChange:

      junit.framework.AssertionFailedError:
expected:<0> but was:<1>
	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.loaders.InstanceDataObjectTest.testSerFileChange(InstanceDataObjectTest.java:905)
	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)
Comment 1 pzajac 2004-09-07 14:35:27 UTC
Created attachment 17433 [details]
exception stacktrace
Comment 2 David Konecny 2004-09-09 14:21:58 UTC
Bug in test.

Fixed in:
test/unit/src/org/openide/loaders/InstanceDataObjectTest.java
new revision: 1.35; previous revision: 1.34
Comment 3 pzajac 2004-09-10 13:38:45 UTC
v