diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-02-17 15:05:22 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-02-18 12:16:29 +0000 |
commit | 93c8509a5097f3813e7e9a76e47c583b05d11991 (patch) | |
tree | d42f47e70a3f3e921d8c0f752fd7504c3759fd29 /src/plugins/cpptools/cppcompletion_test.cpp | |
parent | 1e0b7e527ff1a8aea21c27a1ef954ca0857ef7d5 (diff) | |
download | qt-creator-93c8509a5097f3813e7e9a76e47c583b05d11991.tar.gz |
CppTools: Tests: time out in waitForFileInGlobalSnapshot()
Change-Id: I0bf7d826d53749c5fd1be1e4f3c2faa403d13342
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppcompletion_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppcompletion_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppcompletion_test.cpp b/src/plugins/cpptools/cppcompletion_test.cpp index 625132f99b..e901021513 100644 --- a/src/plugins/cpptools/cppcompletion_test.cpp +++ b/src/plugins/cpptools/cppcompletion_test.cpp @@ -88,8 +88,7 @@ public: m_textDocument = m_editorWidget->document(); // Get Document - waitForFileInGlobalSnapshot(fileName); - const Document::Ptr document = globalSnapshot().document(fileName); + const Document::Ptr document = waitForFileInGlobalSnapshot(fileName); QVERIFY(document); QVERIFY(document->diagnosticMessages().isEmpty()); |