@Test
	public void testParseKeyStroke() {

		KeyStroke ks = KeyStroke.getKeyStroke(KeyEvent.VK_V, 0);
		String parsed = KeyBindingUtils.parseKeyStroke(ks);
		assertEquals("V", parsed);

		ks = KeyStroke.getKeyStroke('v');
		parsed = KeyBindingUtils.parseKeyStroke(ks);
		assertEquals("v", parsed);

		int modifiers = InputEvent.SHIFT_DOWN_MASK | InputEvent.CTRL_DOWN_MASK;
		ks = KeyStroke.getKeyStroke(KeyEvent.VK_V, modifiers);
		parsed = KeyBindingUtils.parseKeyStroke(ks);
		assertEquals("Ctrl-Shift-V", parsed);

		ks = KeyStroke.getKeyStroke(KeyEvent.VK_V, modifiers, true);
		parsed = KeyBindingUtils.parseKeyStroke(ks);
		assertEquals("Ctrl-Shift-V", parsed);

		JButton b = new JButton();
		KeyEvent event = new KeyEvent(b, KeyEvent.KEY_PRESSED, 1, modifiers, KeyEvent.VK_V, 'v');
		ks = KeyStroke.getKeyStrokeForEvent(event);
		parsed = KeyBindingUtils.parseKeyStroke(ks);
		assertEquals("Ctrl-Shift-V", parsed);
	}
Tests the {@link KeyBindingUtils} class.


@since  Tracker Id 329
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingUtilsTest.java