forked from qt-creator/qt-creator
CppEditor: Avoid duplicate "Add #include XYZ"
Task-number: QTCREATORBUG-13422 Change-Id: I3648bf44760fdac4e8e1e79652519136af6032c8 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -106,6 +106,17 @@ public:
|
||||
int operationIndex = 0);
|
||||
};
|
||||
|
||||
/// Tests the offered operations provided by a given CppQuickFixFactory
|
||||
class QuickFixOfferedOperationsTest : public BaseQuickFixTestCase
|
||||
{
|
||||
public:
|
||||
QuickFixOfferedOperationsTest(const QList<QuickFixTestDocument::Ptr> &testDocuments,
|
||||
CppQuickFixFactory *factory,
|
||||
const CppTools::ProjectPart::HeaderPaths &headerPaths
|
||||
= CppTools::ProjectPart::HeaderPaths(),
|
||||
const QStringList &expectedOperations = QStringList());
|
||||
};
|
||||
|
||||
QList<QuickFixTestDocument::Ptr> singleDocument(const QByteArray &original,
|
||||
const QByteArray &expected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user