AutoTest: Add Id to parsers and remove now useless enum

Preparation for introducing test frameworks.

Change-Id: Iefaa4ca9dd9af665444556afa9c6e326041cfd0f
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-06-06 14:18:38 +02:00
parent 94fdd4d900
commit d198c4a22f
11 changed files with 53 additions and 62 deletions

View File

@@ -44,13 +44,6 @@ class TestTreeModel : public Utils::TreeModel
{
Q_OBJECT
public:
enum Type { // FIXME remove this enum
Invalid,
AutoTest,
QuickTest,
GoogleTest
};
static TestTreeModel* instance();
~TestTreeModel();
void enableParsing();
@@ -98,7 +91,7 @@ private:
bool sweepChildren(TestTreeItem *item);
TestTreeItem *unnamedQuickTests() const;
TestTreeItem *rootItemForType(Type type);
TestTreeItem *rootItemForFramework(const Core::Id &id);
explicit TestTreeModel(QObject *parent = 0);
void setupParsingConnections();
@@ -143,5 +136,3 @@ private:
} // namespace Internal
} // namespace Autotest
Q_DECLARE_METATYPE(Autotest::Internal::TestTreeModel::Type)