Fix getting test configuration information

This was especially wrong if the information is not available before
building the project. Now the information will be fetched after a
possible automatic build had been done.

Change-Id: If92bc714039733700885820648471e355199079d
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-04-27 16:11:28 +02:00
parent 0afd504748
commit 8260b79458
4 changed files with 155 additions and 133 deletions

View File

@@ -41,8 +41,11 @@ public:
int testCaseCount = 0, QObject *parent = 0);
~TestConfiguration();
void completeTestInformation();
void setTestCases(const QStringList &testCases);
void setTestCaseCount(int count);
void setMainFilePath(const QString &mainFile);
void setTargetFile(const QString &targetFile);
void setTargetName(const QString &targetName);
void setProFile(const QString &proFile);
@@ -66,14 +69,11 @@ public:
bool unnamedOnly() const { return m_unnamedOnly; }
bool guessedConfiguration() const { return m_guessedConfiguration; }
signals:
public slots:
private:
QString m_testClass;
QStringList m_testCases;
int m_testCaseCount;
QString m_mainFilePath;
bool m_unnamedOnly;
QString m_proFile;
QString m_targetFile;