diff options
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index 9511b6df6e..2f53b1a81d 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -375,7 +375,7 @@ void DoxygenTest::testWithMacroFromHeaderBeforeFunction() " */\n" "API void f();\n"; - const TestDocument headerDocumentDefiningMacro("header.h", "#define API\n"); + const GenericCppTestDocument headerDocumentDefiningMacro("header.h", "#define API\n"); runTest(given, expected, /*settings=*/ 0, {headerDocumentDefiningMacro}); } @@ -421,12 +421,12 @@ void DoxygenTest::runTest(const QByteArray &original, // Write files to disk CppTools::Tests::TemporaryDir temporaryDir; QVERIFY(temporaryDir.isValid()); - TestDocument testDocument("file.cpp", original, '|'); + GenericCppTestDocument testDocument("file.cpp", original, '|'); QVERIFY(testDocument.hasCursorMarker()); testDocument.m_source.remove(testDocument.m_cursorPosition, 1); testDocument.setBaseDirectory(temporaryDir.path()); QVERIFY(testDocument.writeToDisk()); - foreach (TestDocument testDocument, includedHeaderDocuments) { + foreach (GenericCppTestDocument testDocument, includedHeaderDocuments) { testDocument.setBaseDirectory(temporaryDir.path()); QVERIFY(testDocument.writeToDisk()); } |