[modules] Warnings-- in tests (~Test() override)

This commit is contained in:
Adriaan de Groot 2020-09-22 22:14:41 +02:00
parent 8b66009d59
commit 7d5a209dd0
7 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ class HostInfoTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
HostInfoTests() {} HostInfoTests() {}
virtual ~HostInfoTests() {} ~HostInfoTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();

View File

@ -18,7 +18,7 @@ class KeyboardLayoutTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
KeyboardLayoutTests() {} KeyboardLayoutTests() {}
virtual ~KeyboardLayoutTests() {} ~KeyboardLayoutTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();

View File

@ -27,7 +27,7 @@ class MachineIdTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
MachineIdTests() {} MachineIdTests() {}
virtual ~MachineIdTests() {} ~MachineIdTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();

View File

@ -21,7 +21,7 @@ class ItemTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
ItemTests(); ItemTests();
virtual ~ItemTests() {} ~ItemTests() override {}
private: private:
void checkAllSelected( PackageTreeItem* p ); void checkAllSelected( PackageTreeItem* p );

View File

@ -22,7 +22,7 @@ class CreateUserTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
CreateUserTests(); CreateUserTests();
virtual ~CreateUserTests() {} ~CreateUserTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();

View File

@ -28,7 +28,7 @@ class UsersTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
UsersTests(); UsersTests();
virtual ~UsersTests() {} ~UsersTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();

View File

@ -28,7 +28,7 @@ class UserTests : public QObject
Q_OBJECT Q_OBJECT
public: public:
UserTests(); UserTests();
virtual ~UserTests() {} ~UserTests() override {}
private Q_SLOTS: private Q_SLOTS:
void initTestCase(); void initTestCase();