forked from qt-creator/qt-creator
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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user