forked from qt-creator/qt-creator
CppEditor: Remove WorkingCopy::contains()
Most uses involved a double look-up. Change-Id: Ifeb62ea2361222ed0faad749f44a59735c8d6930 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -163,7 +163,7 @@ TestActionsTestCase::TestActionsTestCase(const Actions &tokenActions, const Acti
|
||||
|
||||
QCOMPARE(DocumentModel::openedDocuments().size(), 1);
|
||||
QVERIFY(m_modelManager->isCppEditor(editor));
|
||||
QVERIFY(m_modelManager->workingCopy().contains(filePath));
|
||||
QVERIFY(m_modelManager->workingCopy().get(filePath));
|
||||
|
||||
// Rehighlight
|
||||
waitForRehighlightedSemanticDocument(editorWidget);
|
||||
|
||||
Reference in New Issue
Block a user