Merge lp:~sbaldassin/ubuntu-calendar-app/testability into lp:ubuntu-calendar-app

Proposed by Santiago Baldassin
Status: Needs review
Proposed branch: lp:~sbaldassin/ubuntu-calendar-app/testability
Merge into: lp:ubuntu-calendar-app
Diff against target: 26 lines (+7/-1)
1 file modified
snapcraft.yaml (+7/-1)
To merge this branch: bzr merge lp:~sbaldassin/ubuntu-calendar-app/testability
Reviewer Review Type Date Requested Status
Ubuntu Calendar Developers Pending
Review via email: mp+315463@code.launchpad.net

Commit message

Adding testability support for the app

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

903. By Santiago Baldassin

Adding testability support

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-11-30 12:56:37 +0000
4+++ snapcraft.yaml 2017-01-24 12:49:29 +0000
5@@ -9,7 +9,7 @@
6 apps:
7 ubuntu-calendar-app:
8 command: desktop-launch qmlscene --desktop_file_hint=unity8 $SNAP/usr/share/calendar-app/calendar.qml
9- plugs: [home, gsettings, opengl, platform, unity7, unity8]
10+ plugs: [home, gsettings, opengl, platform, unity7, unity8, autopilot-introspection]
11
12 plugs:
13 platform:
14@@ -17,6 +17,12 @@
15 content: ubuntu-app-platform1
16 target: ubuntu-app-platform
17 default-provider: ubuntu-app-platform
18+
19+ testability:
20+ interface: content
21+ content: testability
22+ target: testability
23+
24 # eds-calendar and address-book not available yet.
25 # FIXME: Fixt that after these interfaces appear on syncd
26 # eds-calendar:

Subscribers

People subscribed via source and target branches

to status/vote changes: