aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-21 13:00:34 -0600
committerTed Gould <ted@gould.cx>2014-02-21 13:00:34 -0600
commitbc01d6ceef3dbc5119a0ac7b2fba1583f62c3d48 (patch)
tree024f2faf804036c8c4f94e56f814144d502f8b82 /tests
parentb8c9c3690d44e20e5cf2fb1322644d1bfdcf9084 (diff)
downloadayatana-indicator-sound-bc01d6ceef3dbc5119a0ac7b2fba1583f62c3d48.tar.gz
ayatana-indicator-sound-bc01d6ceef3dbc5119a0ac7b2fba1583f62c3d48.tar.bz2
ayatana-indicator-sound-bc01d6ceef3dbc5119a0ac7b2fba1583f62c3d48.zip
Adding the timeout to the mock
Diffstat (limited to 'tests')
-rw-r--r--tests/accounts-service-user.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/accounts-service-user.cc b/tests/accounts-service-user.cc
index 65806e3..a52b3a0 100644
--- a/tests/accounts-service-user.cc
+++ b/tests/accounts-service-user.cc
@@ -68,6 +68,9 @@ class AccountsServiceUserTest : public ::testing::Test
DbusTestDbusMockObject * soundobj = dbus_test_dbus_mock_get_object(mock, "/user", "com.canonical.indicator.sound.AccountsService", NULL);
dbus_test_dbus_mock_object_add_property(mock, soundobj,
+ "Timeout", G_VARIANT_TYPE_UINT64,
+ g_variant_new_uint64(0), NULL);
+ dbus_test_dbus_mock_object_add_property(mock, soundobj,
"PlayerName", G_VARIANT_TYPE_STRING,
g_variant_new_string(""), NULL);
dbus_test_dbus_mock_object_add_property(mock, soundobj,