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