forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user