forked from qt-creator/qt-creator
CppEditor: Tests: Make AddIncludeForUndefinedIdentifier tests data driven
...as far as possible. Change-Id: Ida039df7fbd4f1a9fce354dd8541c32255752082 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
446345091b
commit
4a397a5ff5
@@ -67,6 +67,8 @@ public:
|
||||
QString m_expectedSource;
|
||||
};
|
||||
|
||||
typedef QList<QuickFixTestDocument::Ptr> QuickFixTestDocuments;
|
||||
|
||||
class BaseQuickFixTestCase : public TestCase
|
||||
{
|
||||
public:
|
||||
@@ -125,3 +127,5 @@ QList<QuickFixTestDocument::Ptr> singleDocument(const QByteArray &original,
|
||||
} // namespace Tests
|
||||
} // namespace Internal
|
||||
} // namespace CppEditor
|
||||
|
||||
Q_DECLARE_METATYPE(CppEditor::Internal::Tests::QuickFixTestDocuments)
|
||||
|
||||
Reference in New Issue
Block a user