aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks/accounts-mock
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-26 12:01:16 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-26 12:01:16 +0100
commit698baf72cd6a606d9c8101c31e0d40b38d48a8bb (patch)
tree93c3ffbc9bb122892981cd79e7ee875cb2a2e883 /tests/service-mocks/accounts-mock
parentdc719904611197a1f01fc4034f4678ffae556491 (diff)
downloadayatana-indicator-sound-698baf72cd6a606d9c8101c31e0d40b38d48a8bb.tar.gz
ayatana-indicator-sound-698baf72cd6a606d9c8101c31e0d40b38d48a8bb.tar.bz2
ayatana-indicator-sound-698baf72cd6a606d9c8101c31e0d40b38d48a8bb.zip
Changed unit test to wait for the indicator to connect the user accounts
Diffstat (limited to 'tests/service-mocks/accounts-mock')
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt2
-rw-r--r--tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/service-mocks/accounts-mock/CMakeLists.txt b/tests/service-mocks/accounts-mock/CMakeLists.txt
index bc71a8b..ad858bd 100644
--- a/tests/service-mocks/accounts-mock/CMakeLists.txt
+++ b/tests/service-mocks/accounts-mock/CMakeLists.txt
@@ -20,7 +20,7 @@ qt5_add_dbus_adaptor(adaptor_files
AccountsServiceSoundMockAdaptor)
qt5_add_dbus_adaptor(adaptor_files
- org.freedesktop.Accounts.Mock.xml
+ ${CMAKE_SOURCE_DIR}/tests/dbus-types/org.freedesktop.Accounts.xml
AccountsMock.h
ubuntu::indicators::testing::AccountsMock
AccountsMockAdaptor)
diff --git a/tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml b/tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml
index f284d54..f977e7c 100644
--- a/tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml
+++ b/tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml
@@ -9,5 +9,7 @@
<arg direction="in" type="x" name="uid" />
<arg direction="out" type="o" name="path" />
</method>
+ <signal name="FindUserByIdInvoked">
+ </signal>
</interface>
</node>