()
| 10 | public KeyValueTest() {} |
| 11 | |
| 12 | @Test |
| 13 | public void equals() |
| 14 | { |
| 15 | assertEquals(KeyValue.makeStringKey("Foo").withSymbol("Symbol"), |
| 16 | KeyValue.makeMacro("Symbol", new KeyValue[] { KeyValue.makeStringKey("Foo") }, 0)); |
| 17 | assertEquals(KeyValue.getSpecialKeyByName("tab"), |
| 18 | KeyValue.keyeventKey(0xE00F, KeyEvent.KEYCODE_TAB, KeyValue.FLAG_KEY_FONT | KeyValue.FLAG_SMALLER_FONT)); |
| 19 | assertEquals(KeyValue.getSpecialKeyByName("tab").withSymbol("t"), |
| 20 | KeyValue.keyeventKey("t", KeyEvent.KEYCODE_TAB, 0)); |
| 21 | assertEquals(KeyValue.getSpecialKeyByName("tab").withSymbol("tab"), |
| 22 | KeyValue.keyeventKey("tab", KeyEvent.KEYCODE_TAB, KeyValue.FLAG_SMALLER_FONT)); |
| 23 | } |
| 24 | |
| 25 | @Test |
| 26 | public void numpad_script() |
nothing calls this directly
no test coverage detected