CppTools/CppEditor: Rename the TestDocument classes

It was not helpful that we had four different classes with the same name.
Note that they look suspiciously similar and could possibly be merged
into a single class at some point.

Change-Id: I7d4c10a09408226037bc0d276940bca39dc5f576
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-08-27 13:15:46 +02:00
parent 2d994620d1
commit 5fe3ead73e
10 changed files with 70 additions and 67 deletions

View File

@@ -74,10 +74,11 @@ template <typename Signal> inline bool waitForSignalOrTimeout(
return timer.isActive();
}
class CPPTOOLS_EXPORT TestDocument
class CPPTOOLS_EXPORT BaseCppTestDocument
{
public:
TestDocument(const QByteArray &fileName, const QByteArray &source, char cursorMarker = '@');
BaseCppTestDocument(const QByteArray &fileName, const QByteArray &source,
char cursorMarker = '@');
QString baseDirectory() const { return m_baseDirectory; }
void setBaseDirectory(const QString &baseDirectory) { m_baseDirectory = baseDirectory; }