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.
testNoIconInMenu: 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.awt.ActionsTest.testNoIconInMenu(ActionsTest.java:180) 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:136) 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:123) 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)
Yes, behaviour of "noIconInMenu" changed a bit in Actions.connect. Now icon is not transferred from action to menu item at all if action has "noIconInMenu" specified. Will update the test accordingly.
fixed in main trunk: /cvs/openide/test/unit/src/org/openide/awt/ActionsTest.java,v <-- ActionsTest.java new revision: 1.10; previous revision: 1.9
Merged also in release41: /cvs/openide/test/unit/src/org/openide/awt/ActionsTest.java,v <-- ActionsTest.java new revision: 1.9.26.1; previous revision: 1.9
Reopening, still failing but probably because of bug in test4u infrastructure.
Eman, please look at following problem: I fixed test on Friday Apr 15 both in main trunk and release41 branch. Still, test4u infrastructure is claiming that test is failing. I checked details on url http://ffjqa.czech/automatedtests/xtest/netbeans_4.1/200504142205/qa-unit/qa-w2k-s3_2/testrun_050418-081751/testbag_5/htmlresults/suites/TEST-org.openide.awt.ActionsTest.html#testNoIconInMenu and it seems that test are run on old sources from release41 branch...
The link points to testrun of build 20050414 - it seems there was not fix yet.
it seems there was a problem in evaluation infrastructure
i forgot to reasign it
resolved
closing