forked from qt-creator/qt-creator
Simplify conversion from/to Result::Type
Additionally rename enum value UNKNOWN to INVALID. Change-Id: I08dc4e371afb576db10716eda00ff6368f9d2311 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -195,7 +195,7 @@ void TestXmlOutputReader::processOutput()
|
||||
static QString className;
|
||||
static QString testCase;
|
||||
static QString dataTag;
|
||||
static Result::Type result = Result::UNKNOWN;
|
||||
static Result::Type result = Result::INVALID;
|
||||
static QString description;
|
||||
static QString file;
|
||||
static int lineNumber = 0;
|
||||
@@ -223,7 +223,7 @@ void TestXmlOutputReader::processOutput()
|
||||
description = QString();
|
||||
duration = QString();
|
||||
file = QString();
|
||||
result = Result::UNKNOWN;
|
||||
result = Result::INVALID;
|
||||
lineNumber = 0;
|
||||
readingDescription = false;
|
||||
testResultCreated(new TestResult(QString(), QString(), QString(), Result::MESSAGE_CURRENT_TEST,
|
||||
|
||||
Reference in New Issue
Block a user