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 54714 - NewPropertyPanelTest.testWriteValues() fails
Summary: NewPropertyPanelTest.testWriteValues() fails
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2005-02-09 06:40 UTC by Martin Krauskopf
Modified: 2008-12-22 22:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
53382-patch.diff (3.61 KB, patch)
2005-02-28 15:57 UTC, Martin Krauskopf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2005-02-09 06:40:07 UTC
junit.framework.AssertionFailedError: expected not
same
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failSame(Assert.java:271)
	at
junit.framework.Assert.assertNotSame(Assert.java:257)
	at
junit.framework.Assert.assertNotSame(Assert.java:264)
	at
org.openide.explorer.propertysheet.NewPropertyPanelTest.testWriteValues(NewPropertyPanelTest.java:509)
	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
org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:135)
	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:122)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.openide.explorer.propertysheet.NewPropertyPanelTest$CustomEditorDisplayerSuite.run(NewPropertyPanelTest.java:136)
	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 Martin Krauskopf 2005-02-10 13:09:49 UTC
Problems is that ExtTestCase.typeKey() doesn't work with jdk 1.5+
Comment 2 Martin Krauskopf 2005-02-28 15:57:31 UTC
Created attachment 20560 [details]
53382-patch.diff
Comment 3 Martin Krauskopf 2005-02-28 16:02:57 UTC
Ups. The patch pertains to another issue. So just ignore it....
Comment 4 Martin Krauskopf 2005-03-30 22:20:30 UTC
Not for 4.1
Comment 5 Martin Krauskopf 2005-09-07 09:25:13 UTC
It's obsolete and disabled now. Probably more tests will have to be rewritten if
they will be turned on.
Comment 6 Jaromir Uhrik 2006-01-16 15:42:46 UTC
Marking this issue as VERIFIED since the issue reporter == issue owner.