Move TestType enum into constants...

...to avoid defining the enum in several places although almost
having the same meaning.
Additionally rename the values to ensure not to run in a name
clash at some point.

Change-Id: I0f23041b785c87efd3e7feebef855042595473f6
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
Christian Stenger
2016-01-12 13:52:21 +01:00
committed by Niels Weber
parent 97011c6951
commit 54d753574e
8 changed files with 28 additions and 25 deletions

View File

@@ -20,6 +20,8 @@
#ifndef TESTCONFIGURATION_H
#define TESTCONFIGURATION_H
#include "autotestconstants.h"
#include <utils/environment.h>
#include <QObject>
@@ -37,11 +39,6 @@ class TestConfiguration : public QObject
{
Q_OBJECT
public:
enum TestType {
Qt,
GTest
};
explicit TestConfiguration(const QString &testClass, const QStringList &testCases,
int testCaseCount = 0, QObject *parent = 0);
~TestConfiguration();