forked from qt-creator/qt-creator
Use QXmlStreamReader to parse test run output
Using the QXmlStreamReader will be easier to extend current functionality and should be more robust than parsing on our own. Change-Id: I9e1df7083a1af7681987f3971550e19a35b29df9 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
David Schulz
parent
17fbe92100
commit
23bdcf77b6
@@ -23,18 +23,20 @@ namespace Autotest {
|
||||
namespace Internal {
|
||||
|
||||
FaultyTestResult::FaultyTestResult(Result::Type result, const QString &description)
|
||||
: TestResult(QString(), QString(), QString(), result, description)
|
||||
{
|
||||
setResult(result);
|
||||
setDescription(description);
|
||||
}
|
||||
|
||||
TestResult::TestResult()
|
||||
: TestResult(QString())
|
||||
{
|
||||
}
|
||||
|
||||
TestResult::TestResult(const QString &className, const QString &testCase, const QString &dataTag,
|
||||
Result::Type result, const QString &description)
|
||||
: m_class(className),
|
||||
m_case(testCase),
|
||||
m_dataTag(dataTag),
|
||||
m_result(result),
|
||||
m_description(description),
|
||||
m_line(0)
|
||||
TestResult::TestResult(const QString &className)
|
||||
: m_class(className)
|
||||
, m_result(Result::INVALID)
|
||||
, m_line(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user