aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-10-09 18:41:46 +0200
committerRobert Tari <robert@tari.in>2023-10-09 18:41:46 +0200
commit132a445a9eb633d611f18f27f2f8e5742aa537f3 (patch)
treec3200f154572d243bd137405055f98e31340ebb5 /tests
parentabcbf6b7ff2f09fc0351b32e9977db9a1d7a0e1b (diff)
downloadayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.tar.gz
ayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.tar.bz2
ayatana-indicator-display-132a445a9eb633d611f18f27f2f8e5742aa537f3.zip
Rename indicator class and service source files
Diffstat (limited to 'tests')
-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"));