on xenial help sign in
And actually expose Input interface in mock server, though it's unused for now
84f8b38Michael Terry
tests/plugins/AccountsService/interfaces.xml+1
@@ -37,6 +37,7 @@
37 <arg name="success" type="b" direction="out" />
37 <arg name="success" type="b" direction="out" />
38 </method>
38 </method>
39 </interface>
39 </interface>
40+ <interface name="com.ubuntu.AccountsService.Input" />
40 <interface name="com.ubuntu.touch.AccountsService.SecurityPrivacy" />
41 <interface name="com.ubuntu.touch.AccountsService.SecurityPrivacy" />
41 <interface name="com.ubuntu.location.providers.here.AccountsService" />
42 <interface name="com.ubuntu.location.providers.here.AccountsService" />
42 <interface name="org.freedesktop.Accounts.User">
43 <interface name="org.freedesktop.Accounts.User">
tests/plugins/AccountsService/server.cpp+2
@@ -19,6 +19,7 @@
19
19
20#include "AccountsAdaptor.h"
20#include "AccountsAdaptor.h"
21#include "AccountsServer.h"
21#include "AccountsServer.h"
22+#include "InputAdaptor.h"
22#include "PropertiesServer.h"
23#include "PropertiesServer.h"
23#include "SecurityPrivacyAdaptor.h"
24#include "SecurityPrivacyAdaptor.h"
24#include "LocationAdaptor.h"
25#include "LocationAdaptor.h"
@@ -31,6 +32,7 @@ int main(int argc, char *argv[])
31
32
32 auto accounts = new AccountsServer(&a);
33 auto accounts = new AccountsServer(&a);
33 new AccountsAdaptor(accounts);
34 new AccountsAdaptor(accounts);
35+ new InputAdaptor(accounts);
34 new SecurityPrivacyAdaptor(accounts);
36 new SecurityPrivacyAdaptor(accounts);
35 new LocationAdaptor(accounts);
37 new LocationAdaptor(accounts);
36 new AccountsPrivateAdaptor(accounts);
38 new AccountsPrivateAdaptor(accounts);