forked from qt-creator/qt-creator
AutoTest: Fix source file construction on Windows
Task-number: QTCREATORBUG-15667 Change-Id: I4d0e81a39a5031403d77fb3e2179ed17451346b4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -45,19 +45,20 @@ class TestOutputReader : public QObject
|
||||
Q_OBJECT
|
||||
public:
|
||||
TestOutputReader(QFutureInterface<TestResult *> futureInterface,
|
||||
QProcess *testApplication);
|
||||
QProcess *testApplication, const QString &buildDirectory);
|
||||
|
||||
protected:
|
||||
virtual void processOutput() = 0;
|
||||
QFutureInterface<TestResult *> m_futureInterface;
|
||||
QProcess *m_testApplication; // not owned
|
||||
QString m_buildDir;
|
||||
};
|
||||
|
||||
class QtTestOutputReader : public TestOutputReader
|
||||
{
|
||||
public:
|
||||
QtTestOutputReader(QFutureInterface<TestResult *> futureInterface,
|
||||
QProcess *testApplication);
|
||||
QProcess *testApplication, const QString &buildDirectory);
|
||||
|
||||
protected:
|
||||
void processOutput() override;
|
||||
@@ -89,7 +90,7 @@ class GTestOutputReader : public TestOutputReader
|
||||
{
|
||||
public:
|
||||
GTestOutputReader(QFutureInterface<TestResult *> futureInterface,
|
||||
QProcess *testApplication);
|
||||
QProcess *testApplication, const QString &buildDirectory);
|
||||
|
||||
protected:
|
||||
void processOutput() override;
|
||||
|
||||
Reference in New Issue
Block a user