Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2011-04-19 12:59:15 -0400
committerAndrew Gvozdev2011-04-19 12:59:15 -0400
commit49f89720a970b5ae41272abd758c3bb8cb0766ce (patch)
tree3b6bd5a46c4fe6346128b873dbe807ba4ff24388 /core/org.eclipse.cdt.ui.tests
parent3dcd2a7c17234afa5bfa9721846f73a24afd5c5a (diff)
downloadorg.eclipse.cdt-49f89720a970b5ae41272abd758c3bb8cb0766ce.tar.gz
org.eclipse.cdt-49f89720a970b5ae41272abd758c3bb8cb0766ce.tar.xz
org.eclipse.cdt-49f89720a970b5ae41272abd758c3bb8cb0766ce.zip
bug 340995: CDT Global Build Console created for every CDT CBuildConsole extension
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/buildconsole/BuildConsoleTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/buildconsole/BuildConsoleTests.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/buildconsole/BuildConsoleTests.java
index 75abef4c6c..2223b76eb4 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/buildconsole/BuildConsoleTests.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/buildconsole/BuildConsoleTests.java
@@ -32,6 +32,7 @@ import org.eclipse.cdt.ui.tests.BaseUITestCase;
import org.eclipse.cdt.internal.ui.buildconsole.BuildConsole;
import org.eclipse.cdt.internal.ui.buildconsole.BuildConsolePage;
import org.eclipse.cdt.internal.ui.buildconsole.ConsoleMessages;
+import org.eclipse.cdt.internal.ui.buildconsole.GlobalBuildConsoleManager;
/**
* BuildConsoleTests.
@@ -113,8 +114,7 @@ public class BuildConsoleTests extends BaseUITestCase {
}
public void testGlobalCdtConsole() throws IOException, CoreException {
- IBuildConsoleManager mgr = CUIPlugin.getDefault().getConsoleManager();
- IConsole globalConsole = mgr.getGlobalConsole();
+ IConsole globalConsole = GlobalBuildConsoleManager.getGlobalConsole();
assertNotNull(globalConsole);
// the console view

Back to the top