Merge lp:~sbaldassin/address-book-app/testability into lp:address-book-app

Proposed by Santiago Baldassin
Status: Needs review
Proposed branch: lp:~sbaldassin/address-book-app/testability
Merge into: lp:address-book-app
Diff against target: 25 lines (+6/-1)
1 file modified
snapcraft.yaml (+6/-1)
To merge this branch: bzr merge lp:~sbaldassin/address-book-app/testability
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+315476@code.launchpad.net

Commit message

Adding support for testability

Description of the change

This mp adds testability support so that the app can be introspected by autopilot. The support includes:

plug to autopilot-introspection which will be provided by snapd and that will update the apparmor rules to allow the introspection over dbus
plug to testability which will make the testability libraries available for the app using the content sharing interface

To post a comment you must log in.

Unmerged revisions

673. By Santiago Baldassin

Adding support for testability

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'snap/testability'
2=== modified file 'snapcraft.yaml'
3--- snapcraft.yaml 2016-12-19 15:36:37 +0000
4+++ snapcraft.yaml 2017-01-24 14:45:44 +0000
5@@ -8,7 +8,7 @@
6 apps:
7 address-book-app:
8 command: desktop-launch $SNAP/usr/bin/address-book-app --desktop_file_hint=unity8 "$@"
9- plugs: [gsettings, unity7, unity8, opengl, platform] # FIXME: add 'address-book' interface after it get merged on snapd
10+ plugs: [gsettings, unity7, unity8, opengl, platform, autopilot-introspection] # FIXME: add 'address-book' interface after it get merged on snapd
11
12 plugs:
13 platform:
14@@ -17,6 +17,11 @@
15 target: ubuntu-app-platform
16 default-provider: ubuntu-app-platform
17
18+ testability:
19+ interface: content
20+ content: testability
21+ target: testability
22+
23 parts:
24 address-book-app:
25 plugin: cmake

Subscribers

People subscribed via source and target branches