forked from qt-creator/qt-creator
AutoTest: Code cosmetics
* use nullptr * override * remove old style casts * fix most of the code model warnings Change-Id: Ia08e846f9326ae28ca7e7d66748e25a8b817b9b1 Reviewed-by: Xing Xiong Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -52,7 +52,7 @@ using TestResultPtr = QSharedPointer<TestResult>;
|
||||
class TestConfiguration
|
||||
{
|
||||
public:
|
||||
explicit TestConfiguration();
|
||||
explicit TestConfiguration() = default;
|
||||
virtual ~TestConfiguration();
|
||||
|
||||
void completeTestInformation(TestRunMode runMode);
|
||||
@@ -113,7 +113,6 @@ class DebuggableTestConfiguration : public TestConfiguration
|
||||
public:
|
||||
explicit DebuggableTestConfiguration(TestRunMode runMode = TestRunMode::Run)
|
||||
: m_runMode(runMode) {}
|
||||
~DebuggableTestConfiguration() {}
|
||||
|
||||
void setRunMode(TestRunMode mode) { m_runMode = mode; }
|
||||
TestRunMode runMode() const { return m_runMode; }
|
||||
|
||||
Reference in New Issue
Block a user