summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2017-09-29 09:11:12 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2017-09-29 09:08:04 +0000
commitbea6a3dc9f9035e2d02957b70efa525603230f2e (patch)
tree8772c69e3321c049ebce594140e8ecc808592a7c /tests
parent41c9ef6ec050d22d1537c2ede8c1cd2ae2a55a77 (diff)
downloadqt-creator-bea6a3dc9f9035e2d02957b70efa525603230f2e.tar.gz
Clang: Fix ClangCodeModelServerSlowTest.RequestDocumentAnnotations
Add missing HighlightingMark parameter in test. Change-Id: I7b2661152bebf038a3da650ee20b253fa18b471f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unittest/clangcodemodelserver-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unittest/clangcodemodelserver-test.cpp b/tests/unit/unittest/clangcodemodelserver-test.cpp
index eeb500215b..b1b4e8dc8a 100644
--- a/tests/unit/unittest/clangcodemodelserver-test.cpp
+++ b/tests/unit/unittest/clangcodemodelserver-test.cpp
@@ -629,7 +629,7 @@ void ClangCodeModelServer::expectDocumentAnnotationsChangedForFileBWithSpecificH
HighlightingTypes types;
types.mainHighlightingType = ClangBackEnd::HighlightingType::Function;
types.mixinHighlightingTypes.push_back(ClangBackEnd::HighlightingType::Declaration);
- const HighlightingMarkContainer highlightingMark(1, 6, 8, types);
+ const HighlightingMarkContainer highlightingMark(1, 6, 8, types, true);
EXPECT_CALL(mockClangCodeModelClient,
documentAnnotationsChanged(