summaryrefslogtreecommitdiff
path: root/tests/unit/unittest
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-07-04 14:55:58 +0200
committerTim Jenssen <tim.jenssen@theqtcompany.com>2016-07-12 09:08:23 +0000
commitc5e79f6269e0187909a3eeded5290d09d2c74457 (patch)
treebf3286918d5a9b3ef0067f88832e03659c3359e7 /tests/unit/unittest
parente6fa92e58c88f51aa5011d09ffd1a77db5a83515 (diff)
downloadqt-creator-c5e79f6269e0187909a3eeded5290d09d2c74457.tar.gz
Clang: Decouple ConnectionClient and ClangCodeModel*
We want to reuse the connection client in other plugins. This is the first step, the next step is refactoring the IPC mechanismn and move it up to the IpcServer- and IpcClientInterface. Change-Id: I6eb6db1e9bc18232c8df350a6303afd2edc68da8 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'tests/unit/unittest')
-rw-r--r--tests/unit/unittest/clientserveroutsideprocess.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/unittest/clientserveroutsideprocess.cpp b/tests/unit/unittest/clientserveroutsideprocess.cpp
index deba8d6964..d7979ce4b4 100644
--- a/tests/unit/unittest/clientserveroutsideprocess.cpp
+++ b/tests/unit/unittest/clientserveroutsideprocess.cpp
@@ -35,7 +35,7 @@
#include <cmbunregisterprojectsforeditormessage.h>
#include <cmbunregistertranslationunitsforeditormessage.h>
#include <highlightingchangedmessage.h>
-#include <connectionclient.h>
+#include <clangcodemodelconnectionclient.h>
#include <diagnosticschangedmessage.h>
#include <projectpartsdonotexistmessage.h>
#include <readmessageblock.h>
@@ -72,11 +72,11 @@ protected:
static void TearDownTestCase();
static MockClangCodeModelClient mockClangCodeModelClient;
- static ClangBackEnd::ConnectionClient client;
+ static ClangBackEnd::ClangCodeModelConnectionClient client;
};
MockClangCodeModelClient ClientServerOutsideProcess::mockClangCodeModelClient;
-ClangBackEnd::ConnectionClient ClientServerOutsideProcess::client(&ClientServerOutsideProcess::mockClangCodeModelClient);
+ClangBackEnd::ClangCodeModelConnectionClient ClientServerOutsideProcess::client(&ClientServerOutsideProcess::mockClangCodeModelClient);
TEST_F(ClientServerOutsideProcess, RestartProcessAsynchronously)
{