Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug43168Test.java')
-rwxr-xr-xtests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug43168Test.java60
1 files changed, 0 insertions, 60 deletions
diff --git a/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug43168Test.java b/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug43168Test.java
deleted file mode 100755
index 3740529d99d..00000000000
--- a/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug43168Test.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.e4.ui.keybinding.tests;
-
-import org.eclipse.jface.bindings.keys.KeySequence;
-import org.eclipse.jface.bindings.keys.KeySequenceText;
-import org.eclipse.jface.bindings.keys.ParseException;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.RowLayout;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.tests.harness.util.UITestCase;
-
-/**
- * Tests Bug 43168
- *
- * @since 3.0
- */
-public class Bug43168Test extends UITestCase {
-
- /**
- * Constructor for Bug43168Test.
- *
- * @param name
- * The name of the test
- */
- public Bug43168Test(String name) {
- super(name);
- }
-
- /**
- * Tests that a <code>StackOverflowError</code> does not occur when
- * trying to set the key sequence in a key sequence entry widget.
- *
- * @throws ParseException
- * If "CTRL+" is not recognized as a key sequence.
- */
- public void testStackOverflow() throws ParseException {
- Display display = Display.getCurrent();
- Shell shell = new Shell(display);
- shell.setLayout(new RowLayout());
- Text text = new Text(shell, SWT.BORDER);
- KeySequenceText keySequenceText = new KeySequenceText(text);
-
- shell.pack();
- shell.open();
- keySequenceText.setKeySequence(KeySequence.getInstance("CTRL+")); //$NON-NLS-1$
- shell.close();
- }
-}

Back to the top