forked from qt-creator/qt-creator
Move TestType enum into constants...
...to avoid defining the enum in several places although almost having the same meaning. Additionally rename the values to ensure not to run in a name clash at some point. Change-Id: I0f23041b785c87efd3e7feebef855042595473f6 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
committed by
Niels Weber
parent
97011c6951
commit
54d753574e
@@ -37,7 +37,7 @@ TestResult::TestResult(const QString &className)
|
||||
: m_class(className)
|
||||
, m_result(Result::Invalid)
|
||||
, m_line(0)
|
||||
, m_type(Qt)
|
||||
, m_type(TestTypeQt)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ QTestResult::QTestResult(const QString &className)
|
||||
GTestResult::GTestResult(const QString &className)
|
||||
: TestResult(className)
|
||||
{
|
||||
setTestType(GTest);
|
||||
setTestType(TestTypeGTest);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user