forked from qt-creator/qt-creator
CppTools: Remove last traces of CppEditorSupport
Superseded by commit
commit 89bd4ee3c4
C++: Base parsing on editor document instead of widget
Change-Id: Iffa6e47bddc0fa3de1eab9b65fe8f711520d2d7f
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -873,11 +873,6 @@ void CppToolsPlugin::test_modelmanager_defines_per_project()
|
||||
QCOMPARE(Core::DocumentModel::openedDocuments().size(), 1);
|
||||
QVERIFY(mm->isCppEditor(editor));
|
||||
|
||||
// CppEditorSupport *sup = mm->cppEditorSupport(
|
||||
// qobject_cast<TextEditor::BaseTextEditor *>(editor));
|
||||
// while (sup->lastSemanticInfoDocument().isNull())
|
||||
// QCoreApplication::processEvents();
|
||||
|
||||
Document::Ptr doc = mm->document(fileName);
|
||||
QCOMPARE(nameOfFirstDeclaration(doc), firstDeclarationName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user