aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus/mock-login1-manager.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-24 23:14:57 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-24 23:14:57 -0500
commit0f8caa36ee3efac6ccf0861deb9af9e1c186885d (patch)
tree553d755edb6ff4bc305e3b4f267d4d86fd1d47d4 /tests/backend-dbus/mock-login1-manager.h
parent084f6cdc08117e26c34a8c6afa00735bd3d75b4a (diff)
downloadayatana-indicator-session-0f8caa36ee3efac6ccf0861deb9af9e1c186885d.tar.gz
ayatana-indicator-session-0f8caa36ee3efac6ccf0861deb9af9e1c186885d.tar.bz2
ayatana-indicator-session-0f8caa36ee3efac6ccf0861deb9af9e1c186885d.zip
fix the first four tests in test-users: HelloWorld, InitialUsers, UserAdded, and UserRemoved.
Diffstat (limited to 'tests/backend-dbus/mock-login1-manager.h')
-rw-r--r--tests/backend-dbus/mock-login1-manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/backend-dbus/mock-login1-manager.h b/tests/backend-dbus/mock-login1-manager.h
index da05660..a093f7f 100644
--- a/tests/backend-dbus/mock-login1-manager.h
+++ b/tests/backend-dbus/mock-login1-manager.h
@@ -47,8 +47,12 @@ class MockLogin1Manager: public MockObject
void clear_last_action () { my_last_action.clear(); }
private:
+
void emit_session_new (MockLogin1Seat * seat, int tag) const;
+ GVariant * list_sessions () const;
+
+ static gboolean handle_list_sessions (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_can_suspend (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_can_hibernate (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_reboot (Login1Manager *, GDBusMethodInvocation *, gboolean, gpointer);