forked from qt-creator/qt-creator
AutoTest: Provide mark and sweep functions
Actually they are not used, this is a preparation for later patches. Change-Id: I25f43dd7dba06068ca9e39ccd4153361a7746304 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -78,6 +78,9 @@ public:
|
||||
QMultiMap<QString, int> gtestNamesAndSets() const;
|
||||
#endif
|
||||
|
||||
void markAllForRemoval();
|
||||
void markForRemoval(const QString &filePath);
|
||||
void sweep();
|
||||
QMap<QString, QString> referencingFiles() const;
|
||||
|
||||
signals:
|
||||
@@ -94,6 +97,7 @@ private:
|
||||
void removeTestTreeItems(const QString &filePath, Type type);
|
||||
void removeUnnamedQuickTests(const QString &filePath);
|
||||
void removeGTests(const QString &filePath);
|
||||
bool sweepChildren(TestTreeItem *item);
|
||||
|
||||
TestTreeItem *unnamedQuickTests() const;
|
||||
TestTreeItem *rootItemForType(Type type);
|
||||
|
||||
Reference in New Issue
Block a user