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/Bug42627Test.java')
-rwxr-xr-xtests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug42627Test.java83
1 files changed, 0 insertions, 83 deletions
diff --git a/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug42627Test.java b/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug42627Test.java
deleted file mode 100755
index 3e0d2ed2709..00000000000
--- a/tests/org.eclipse.e4.ui.keybinding.tests/src/org/eclipse/e4/ui/keybinding/tests/Bug42627Test.java
+++ /dev/null
@@ -1,83 +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.ui.tests.harness.util.UITestCase;
-
-/**
- * Tests Bug 42627
- *
- * @since 3.0
- */
-public class Bug42627Test extends UITestCase {
-
- // TODO See if this is needed for anything.
- // private class DummyView extends ViewPart {
- // public void createPartControl(Composite composite) {
- // // Do nothing
- // }
- //
- // public void setFocus() {
- // // Do nothing
- // }
- // }
-
- /**
- * A dummy implementation of an <code>Action</code>.
- *
- * @since 3.0
- */
- // private class DummyAction extends Action {
- // // Nothing to implement
- // }
- // private boolean logged;
- /**
- * Constructor for Bug42627Test.
- *
- * @param name
- * The name of the test
- */
- public Bug42627Test(String name) {
- super(name);
- }
-
- protected void doSetUp() throws Exception {
- super.doSetUp();
- // logged = false;
- }
-
- /**
- * Tests that actions with no defined command ID are logged.
- *
- * @throws CoreException
- * If something fails when trying to open a new project.
- */
- public void testLogUndefined() /*throws CoreException*/{
- // TODO No log is being generated. What was Chris' fix?
- // IWorkbenchWindow window = openTestWindow();
- // ResourcesPlugin.getPlugin().getLog().addLogListener(new ILogListener() {
- // public void logging(IStatus status, String string) {
- // logged = true;
- // }
- // });
- // IWorkspace workspace = ResourcesPlugin.getWorkspace();
- // IProject testProject = workspace.getRoot().getProject("Bug42627Project"); //$NON-NLS-1$
- // testProject.create(null);
- // testProject.open(null);
- // AbstractTextEditor editor = (AbstractTextEditor) window.getActivePage().openEditor(testProject.getFile(".project")); //$NON-NLS-1$
- // editor.selectAndReveal(0, 1);
- // EditorSite site = (EditorSite) editor.getSite();
- // site.getActionBars().setGlobalActionHandler("Bogus action name that hopefully will not exist", new DummyAction()); //$NON-NLS-1$
- // window.getShell().setFocus();
- // assertTrue("Nothing has been logged.", logged); //$NON-NLS-1$
- }
-}

Back to the top