on xenial help sign in
And actually expose Input interface in mock server, though it's unused for now
commit84f8b38b5d8b1617808d5b08e75c8820503ce3b0 authorMichael Terry <michael.terry@canonical.com> dateMon 8 Feb 2016, 08:56 (11 years ago) parent4fd0b34
2 files changed+3
tests/plugins/AccountsService/interfaces.xml+1 tests/plugins/AccountsService/server.cpp+2
tests/plugins/AccountsService/interfaces.xml+1
@@ -37,6 +37,7 @@
3737 <arg name="success" type="b" direction="out" />
3838 </method>
3939 </interface>
40+ <interface name="com.ubuntu.AccountsService.Input" />
4041 <interface name="com.ubuntu.touch.AccountsService.SecurityPrivacy" />
4142 <interface name="com.ubuntu.location.providers.here.AccountsService" />
4243 <interface name="org.freedesktop.Accounts.User">
tests/plugins/AccountsService/server.cpp+2
@@ -19,6 +19,7 @@
1919
2020#include "AccountsAdaptor.h"
2121#include "AccountsServer.h"
22+#include "InputAdaptor.h"
2223#include "PropertiesServer.h"
2324#include "SecurityPrivacyAdaptor.h"
2425#include "LocationAdaptor.h"
@@ -31,6 +32,7 @@ int main(int argc, char *argv[])
3132
3233 auto accounts = new AccountsServer(&a);
3334 new AccountsAdaptor(accounts);
35+ new InputAdaptor(accounts);
3436 new SecurityPrivacyAdaptor(accounts);
3537 new LocationAdaptor(accounts);
3638 new AccountsPrivateAdaptor(accounts);