forked from qt-creator/qt-creator
Make test result distinguishable more easily
This additionally fixes the output of the gtest related test cases. Change-Id: Ia9e19604ffe387752b08db4a4ad9a9e255d210a3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -37,6 +37,7 @@ TestResult::TestResult(const QString &className)
|
||||
: m_class(className)
|
||||
, m_result(Result::Invalid)
|
||||
, m_line(0)
|
||||
, m_type(Qt)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -146,5 +147,16 @@ bool operator==(const TestResult &t1, const TestResult &t2)
|
||||
&& t1.result() == t2.result();
|
||||
}
|
||||
|
||||
QTestResult::QTestResult(const QString &className)
|
||||
: TestResult(className)
|
||||
{
|
||||
}
|
||||
|
||||
GTestResult::GTestResult(const QString &className)
|
||||
: TestResult(className)
|
||||
{
|
||||
setTestType(GTest);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Autotest
|
||||
|
||||
Reference in New Issue
Block a user