Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-472

Keymap tests fail in o.n.core when on mac

    XMLWordPrintableJSON

Details

    Description

      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)
      
       
      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)
      

      This is likely because 'O' maps to cmd instead of ctrl on a mac

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sir Intellegence Austin Stephens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: