Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-02-09 20:36:43 +0000
committerJean Michel-Lemieux2004-02-09 20:36:43 +0000
commit6a65186659ce277972b128d84fd51f1bcf1bb4d3 (patch)
tree6217fce431f815f6e0a2924558a5ed271fc4fdec /tests
parent2311567cd18d091a08acd3e5ac3cc07966f72c4a (diff)
downloadeclipse.platform.team-6a65186659ce277972b128d84fd51f1bcf1bb4d3.tar.gz
eclipse.platform.team-6a65186659ce277972b128d84fd51f1bcf1bb4d3.tar.xz
eclipse.platform.team-6a65186659ce277972b128d84fd51f1bcf1bb4d3.zip
Bug 51395 [Console] move to new generic console API
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/old/CVSUITestCase.java23
1 files changed, 1 insertions, 22 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/old/CVSUITestCase.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/old/CVSUITestCase.java
index dd850a1e0..5ed517ddc 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/old/CVSUITestCase.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/old/CVSUITestCase.java
@@ -44,7 +44,6 @@ import org.eclipse.team.internal.ccvs.core.CVSTag;
import org.eclipse.team.internal.ccvs.core.ICVSRemoteFolder;
import org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation;
import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-import org.eclipse.team.internal.ccvs.ui.Console;
import org.eclipse.team.internal.ccvs.ui.ICVSUIConstants;
import org.eclipse.team.internal.ccvs.ui.actions.AddToWorkspaceAction;
import org.eclipse.team.internal.ccvs.ui.actions.CommitAction;
@@ -66,11 +65,7 @@ import org.eclipse.team.internal.ui.sync.SyncView;
import org.eclipse.team.tests.ccvs.core.CVSTestSetup;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IViewPart;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.WorkbenchException;
@@ -123,7 +118,7 @@ public class CVSUITestCase extends LoggingTestCase {
// default case is to not show the console but don't disable it, this is
// the typical user experience.
if(SHOW_CONSOLE) {
- showConsole();
+ //showConsole();
} else if(!USE_CONSOLE) {
CVSProviderPlugin.getPlugin().setConsoleListener(null);
}
@@ -138,22 +133,6 @@ public class CVSUITestCase extends LoggingTestCase {
closeAllTestWindows();
super.tearDown();
}
-
- protected void showConsole() {
- try {
- IWorkbenchPage page = CVSUIPlugin.getActivePage();
- IViewPart consolePart = page.findView(Console.CONSOLE_ID);
- if (consolePart == null) {
- IWorkbenchPart activePart = page.getActivePart();
- consolePart = page.showView(Console.CONSOLE_ID);
- //restore focus stolen by the creation of the console
- if (activePart != null) page.activate(activePart);
- } else {
- page.bringToTop(consolePart);
- }
- } catch (PartInitException pe) {
- }
- }
/**
* Open a test window with the empty perspective.

Back to the top