diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-11-28 08:47:03 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-11-28 08:51:08 +0000 |
commit | de76813c8421fd900e0d57038d28e8be693e33be (patch) | |
tree | d99b90ed99e1c42f0bd7ad4bef35770bce521720 /tests/utils | |
parent | 22d45854cb2c7a6374d6dfc631d684d01fcc9063 (diff) | |
download | ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.gz ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.bz2 ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.zip |
Fork from Ubuntus' indicator-display project.
Diffstat (limited to 'tests/utils')
-rw-r--r-- | tests/utils/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/utils/mock-greeter.py (renamed from tests/utils/mock-unity-greeter.py) | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/utils/CMakeLists.txt b/tests/utils/CMakeLists.txt index e458c82..fd82b79 100644 --- a/tests/utils/CMakeLists.txt +++ b/tests/utils/CMakeLists.txt @@ -14,4 +14,3 @@ qt5_use_modules( Core DBus ) - diff --git a/tests/utils/mock-unity-greeter.py b/tests/utils/mock-greeter.py index 70fb791..dc48a6d 100644 --- a/tests/utils/mock-unity-greeter.py +++ b/tests/utils/mock-greeter.py @@ -1,4 +1,4 @@ -'''unity greeter mock template +'''desktop greeter mock template Very basic template that just mocks the greeter is-active flag ''' @@ -19,17 +19,17 @@ import os from dbusmock import MOCK_IFACE, mockobject -BUS_NAME = 'com.canonical.UnityGreeter' +BUS_NAME = 'org.ayatana.Greeter' MAIN_OBJ = '/' -MAIN_IFACE = 'com.canonical.UnityGreeter' +MAIN_IFACE = 'org.ayatana.Greeter' SYSTEM_BUS = False def load(mock, parameters): mock.AddMethods( MAIN_IFACE, [ - ('HideGreeter', '', '', 'self.Set("com.canonical.UnityGreeter", "IsActive", False)'), - ('ShowGreeter', '', '', 'self.Set("com.canonical.UnityGreeter", "IsActive", True)') + ('HideGreeter', '', '', 'self.Set("org.ayatana.Greeter", "IsActive", False)'), + ('ShowGreeter', '', '', 'self.Set("org.ayatana.Greeter", "IsActive", True)') ] ) mock.AddProperties( |