diff options
Diffstat (limited to 'src/plugins/cppeditor/fileandtokenactions_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/fileandtokenactions_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/fileandtokenactions_test.cpp b/src/plugins/cppeditor/fileandtokenactions_test.cpp index 0b781168bd..c5602c5f67 100644 --- a/src/plugins/cppeditor/fileandtokenactions_test.cpp +++ b/src/plugins/cppeditor/fileandtokenactions_test.cpp @@ -51,6 +51,7 @@ using namespace Core; using namespace CPlusPlus; using namespace TextEditor; +using namespace Utils; namespace CppEditor::Internal::Tests { @@ -158,7 +159,7 @@ TestActionsTestCase::TestActionsTestCase(const Actions &tokenActions, const Acti QCOMPARE(DocumentModel::openedDocuments().size(), 0); BaseTextEditor *editor; CppEditorWidget *editorWidget; - QVERIFY(openCppEditor(filePath, &editor, &editorWidget)); + QVERIFY(openCppEditor(FilePath::fromString(filePath), &editor, &editorWidget)); QCOMPARE(DocumentModel::openedDocuments().size(), 1); QVERIFY(m_modelManager->isCppEditor(editor)); |