aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-14 20:28:30 +0000
committerRobert Tari <robert@tari.in>2021-08-04 17:06:27 +0200
commitd1f7136481a286e3b363b5cb12631fe7db04ecb4 (patch)
treea5670afc517b9448c2504d1aadfbe47246ee99e1 /tests
parent220be12b373646b06b0a00250a8f2e382893dc17 (diff)
downloadayatana-indicator-display-d1f7136481a286e3b363b5cb12631fe7db04ecb4.tar.gz
ayatana-indicator-display-d1f7136481a286e3b363b5cb12631fe7db04ecb4.tar.bz2
ayatana-indicator-display-d1f7136481a286e3b363b5cb12631fe7db04ecb4.zip
cppcheck: Add several missing override statements to make cppcheck happy (which is one of our unit tests).
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/adbd-client-test.cpp2
-rw-r--r--tests/unit/rotation-lock-test.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/adbd-client-test.cpp b/tests/unit/adbd-client-test.cpp
index d1ce740..9b5f1b3 100644
--- a/tests/unit/adbd-client-test.cpp
+++ b/tests/unit/adbd-client-test.cpp
@@ -38,7 +38,7 @@ protected:
std::shared_ptr<std::string> m_tmpdir;
- void SetUp()
+ void SetUp() override
{
super::SetUp();
diff --git a/tests/unit/rotation-lock-test.cpp b/tests/unit/rotation-lock-test.cpp
index b9630b5..a5a6f6c 100644
--- a/tests/unit/rotation-lock-test.cpp
+++ b/tests/unit/rotation-lock-test.cpp
@@ -28,12 +28,12 @@ private:
protected:
- void SetUp()
+ void SetUp() override
{
super::SetUp();
}
- void TearDown()
+ void TearDown() override
{
super::TearDown();
}