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.
As reported in bug 208445 org.netbeans.modules.xml.multiview.ui.SimpleDialogPanelTest.testLabels3 is failing on Mac with JDK7u4. Please, evaluate and possibly fix it. junit.framework.AssertionFailedError: expected:<0> but was:<84> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.netbeans.modules.xml.multiview.ui.SimpleDialogPanelTest.testLabels3(SimpleDialogPanelTest.java:97)
Please evaluate ASAP, escalated by JDK team ... we need to know whether it's a random failuer, issue in test or problem in JDK.
The test fails, because our Mnemonics support handles MacOS X platform specially, just ignoring them. When the special handling is disabled, the test passes. BUT - I was not able to verify whether the mnemonic is visually OK, build created locally on the test machine did not show main menu at all ! Probably error in the local build (?) = must use an official build of the reported version for verification. Anyway, the 'culprit' is openide.awt, class org.openide.awt.Mnemonics, which blocks mnemonic set for MacOS.
core-main 4c690ebcdcfa
Thank you. Tests were disabled for 7.1.1 tests distribution. releases#0380d44ee3e0
Integrated into 'main-golden', will be available in build *201203130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4c690ebcdcfa User: S. Aubrecht <saubrecht@netbeans.org> Log: #208458 - there are no mnemonics on Mac l&f
Integrated into 'releases', will be available in build *201203222205* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/0380d44ee3e0 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #208458 - Test disabled for Mac issues.