Austin Stephens created NETBEANS-472:
----------------------------------------
Summary: Keymap tests fail in o.n.core when on mac
Key: NETBEANS-472
URL: https://issues.apache.org/jira/browse/NETBEANS-472
Project: NetBeans
Issue Type: Bug
Components: platform - Actions
Affects Versions: 9.0
Environment: Mac
Reporter: Austin Stephens
Fix For: 9.0
{noformat}
for ctrl pressed 1
junit.framework.AssertionFailedError
at org.netbeans.core.NbKeymapTest.assertMapping(NbKeymapTest.java:92)
at
org.netbeans.core.NbKeymapTest.testAbstractModifiers(NbKeymapTest.java:181)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386)
at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275)
{noformat}
{noformat}
java.lang.NullPointerException at
org.netbeans.core.NbKeymapTest.testMaskForSameKeystrokeWithDifferentText217497(NbKeymapTest.java:283)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) at
org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) at
org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:479) at
org.netbeans.junit.NbTestCase.run(NbTestCase.java:275)
{noformat}
This is likely because 'O' maps to cmd instead of ctrl on a mac
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists