summaryrefslogtreecommitdiff
path: root/tests/unit/unittest/mockclangcodemodelclient.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2018-05-31 15:21:53 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2018-06-04 09:54:01 +0000
commitf01fbcb789d86116fac5b9d6ef2ed42862e2c944 (patch)
tree1b8e8422e30112fb883be75cdec84dad7b8e2105 /tests/unit/unittest/mockclangcodemodelclient.h
parent4e4bd4909af55dbb716fae061244eae5577b4054 (diff)
downloadqt-creator-f01fbcb789d86116fac5b9d6ef2ed42862e2c944.tar.gz
Clang: Clean up some IPC names
This is long overdue since some names were simply wrong and/or misleading. Also, some of the old names were long enough to almost get crazy. The renaming starts from ClangCodeModelServerInterface and ClangCodeModelClientInterface and affects usages and related functions. For the ClangCodeModelServerInterface, categorize the messages in - messages that require a response (request*) - notification messages (the remaining ones) Change-Id: I5342ed8e0d87404ee72f3c3766fd8ef7505defb1 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'tests/unit/unittest/mockclangcodemodelclient.h')
-rw-r--r--tests/unit/unittest/mockclangcodemodelclient.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/unittest/mockclangcodemodelclient.h b/tests/unit/unittest/mockclangcodemodelclient.h
index 3b5a3cfbf5..9244e05eb8 100644
--- a/tests/unit/unittest/mockclangcodemodelclient.h
+++ b/tests/unit/unittest/mockclangcodemodelclient.h
@@ -37,10 +37,10 @@ public:
void());
MOCK_METHOD1(echo,
void(const ClangBackEnd::EchoMessage &message));
- MOCK_METHOD1(codeCompleted,
- void(const ClangBackEnd::CodeCompletedMessage &message));
- MOCK_METHOD1(documentAnnotationsChanged,
- void(const ClangBackEnd::DocumentAnnotationsChangedMessage &message));
+ MOCK_METHOD1(completions,
+ void(const ClangBackEnd::CompletionsMessage &message));
+ MOCK_METHOD1(annotations,
+ void(const ClangBackEnd::AnnotationsMessage &message));
MOCK_METHOD1(references,
void(const ClangBackEnd::ReferencesMessage &message));
MOCK_METHOD1(followSymbol,