diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-10-01 10:04:18 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-10-01 10:04:18 +0200 |
commit | a0b2d10822fa61c859395dc5f1cb004c777170f3 (patch) | |
tree | dc39004651e62cc814f5e6e9a9ba26543d323c9a /src/plugins/cpptools/cppcompletion_test.cpp | |
parent | 1d23165922e966c45a492f72e42a306b0754ff1d (diff) | |
parent | d9602ca550c53e60a5229bfec9539e41fa5a694c (diff) | |
download | qt-creator-a0b2d10822fa61c859395dc5f1cb004c777170f3.tar.gz |
Merge remote-tracking branch 'origin/2.8'
Conflicts:
src/plugins/coreplugin/coreplugin.pro
src/plugins/coreplugin/coreplugin.qbs
src/plugins/cppeditor/cppdoxygen_test.cpp
src/plugins/cppeditor/cppquickfix_test.cpp
src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
src/plugins/cpptools/cppcompletion_test.cpp
Change-Id: I392229af933c1e56b9ea459d4d240a2144b4bfcb
Diffstat (limited to 'src/plugins/cpptools/cppcompletion_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppcompletion_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppcompletion_test.cpp b/src/plugins/cpptools/cppcompletion_test.cpp index 23556b58b9..3616561d09 100644 --- a/src/plugins/cpptools/cppcompletion_test.cpp +++ b/src/plugins/cpptools/cppcompletion_test.cpp @@ -31,6 +31,7 @@ #include "cppcompletionassist.h" #include "cppmodelmanager.h" +#include <coreplugin/plugintestutils.h> #include <texteditor/plaintexteditor.h> #include <texteditor/codeassist/iassistproposal.h> #include <texteditor/convenience.h> @@ -91,8 +92,7 @@ public: ~CompletionTestCase() { - EditorManager::closeEditors(QList<IEditor*>() << editor, - /*askAboutModifiedEditors=*/ false); + Core::Tests::closeAndDeleteEditor(editor); cmm->GC(); QVERIFY(cmm->snapshot().isEmpty()); } |