aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks/accounts-mock
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 21:54:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 12:31:33 +0100
commit240aadeb1ae8dcbf06f618ffb51342f81f7f77db (patch)
tree1af74cf3d51526b261c601c9401fd7b60472374a /tests/service-mocks/accounts-mock
parentdc87c5b56a3f37b865267d5f2647ee69fef560ff (diff)
downloadayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.tar.gz
ayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.tar.bz2
ayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.zip
Rename HAS_UT_ACCTSERVICE_SOUND_SETTINGS
Diffstat (limited to 'tests/service-mocks/accounts-mock')
-rw-r--r--tests/service-mocks/accounts-mock/AccountsDefs.h2
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/service-mocks/accounts-mock/AccountsDefs.h b/tests/service-mocks/accounts-mock/AccountsDefs.h
index 9726a9a..660f240 100644
--- a/tests/service-mocks/accounts-mock/AccountsDefs.h
+++ b/tests/service-mocks/accounts-mock/AccountsDefs.h
@@ -28,7 +28,7 @@ namespace testing
constexpr const char ACCOUNTS_SERVICE[] = "org.freedesktop.Accounts";
constexpr const char USER_PATH[] = "/org/freedesktop/Accounts/UserTest";
constexpr const char ACCOUNTS_PATH[] = "/org/freedesktop/Accounts";
-#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
+#ifdef HAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS
constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.lomiri.AccountsService.Sound";
#else
constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "org.ayatana.AccountsService.Sound";
diff --git a/tests/service-mocks/accounts-mock/CMakeLists.txt b/tests/service-mocks/accounts-mock/CMakeLists.txt
index e737a07..bcb9608 100644
--- a/tests/service-mocks/accounts-mock/CMakeLists.txt
+++ b/tests/service-mocks/accounts-mock/CMakeLists.txt
@@ -8,7 +8,7 @@ include_directories(${Qt5DBus_INCLUDE_DIRS}
add_definitions(-DQT_NO_KEYWORDS=1)
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
- add_definitions(-DHAS_UT_ACCTSERVICE_SOUND_SETTINGS)
+ add_definitions(-DHAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS)
set(dbusinterface_sound_xml "com.lomiri.AccountsService.Sound.Mock.xml")
else()
set(dbusinterface_sound_xml "org.ayatana.AccountsService.Sound.Mock.xml")