forked from qt-creator/qt-creator
AutoTest: Rename results executable
Rename member to better reflect its meaning. It is used as an identifier and might be something else than an executable. Change-Id: I082e3caaa3d94fcd7ab26ebc43bb0eb6da136d57 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
David Schulz
parent
1f3381a3c2
commit
78bd3f9ec3
@@ -133,7 +133,6 @@ QtTestOutputReader::QtTestOutputReader(const QFutureInterface<TestResultPtr> &fu
|
||||
QProcess *testApplication, const QString &buildDirectory,
|
||||
const QString &projectFile, OutputMode mode, TestType type)
|
||||
: TestOutputReader(futureInterface, testApplication, buildDirectory)
|
||||
, m_executable(testApplication ? testApplication->program() : QString())
|
||||
, m_projectFile(projectFile)
|
||||
, m_mode(mode)
|
||||
, m_testType(type)
|
||||
@@ -157,7 +156,7 @@ void QtTestOutputReader::processOutput(const QByteArray &outputLine)
|
||||
|
||||
TestResultPtr QtTestOutputReader::createDefaultResult() const
|
||||
{
|
||||
QtTestResult *result = new QtTestResult(m_executable, m_projectFile, m_testType, m_className);
|
||||
QtTestResult *result = new QtTestResult(id(), m_projectFile, m_testType, m_className);
|
||||
result->setFunctionName(m_testCase);
|
||||
result->setDataTag(m_dataTag);
|
||||
return TestResultPtr(result);
|
||||
|
||||
Reference in New Issue
Block a user