aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-10 12:21:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-10-10 12:21:49 +0200
commita6635f03b72a81151f55c2fb9f6dbb0c8bb806aa (patch)
tree9216706d6b4233e0f72414aaaefd85c8b9da4bba /tests/unit
parent0713c69189ead3be8b1946a004fcd99275834c47 (diff)
parent15d318fe93fb8419b1f03052f62c8feceb45356b (diff)
downloadayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.tar.gz
ayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.tar.bz2
ayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.zip
Merge branch 'tari01-pr/rename-to-display'
Attributes GH PR #78: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/78
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/rotation-lock-test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/rotation-lock-test.cpp b/tests/unit/rotation-lock-test.cpp
index a4ce388..7bf2e45 100644
--- a/tests/unit/rotation-lock-test.cpp
+++ b/tests/unit/rotation-lock-test.cpp
@@ -19,7 +19,7 @@
#include <tests/utils/test-dbus-fixture.h>
-#include <src/rotation-lock.h>
+#include <src/service.h>
class RotationLockFixture: public TestDBusFixture
{
@@ -45,9 +45,9 @@ protected:
TEST_F(RotationLockFixture, CheckIndicator)
{
- RotationLockIndicator indicator;
+ DisplayIndicator indicator;
- ASSERT_STREQ("rotation_lock", indicator.name());
+ ASSERT_STREQ("display", indicator.name());
auto actions = indicator.action_group();
ASSERT_TRUE(actions != nullptr);
ASSERT_TRUE(g_action_group_has_action(G_ACTION_GROUP(actions), "rotation-lock"));