← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

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

 

Santiago Baldassin has proposed merging lp:~sbaldassin/ubuntu-calendar-app/testability into lp:ubuntu-calendar-app.

Commit message:
Adding testability support for the app

Requested reviews:
  Ubuntu Calendar Developers (ubuntu-calendar-dev)

For more details, see:
https://code.launchpad.net/~sbaldassin/ubuntu-calendar-app/testability/+merge/315463

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
-- 
Your team Ubuntu Calendar Developers is requested to review the proposed merge of lp:~sbaldassin/ubuntu-calendar-app/testability into lp:ubuntu-calendar-app.
=== added directory 'snap/testability'
=== modified file 'snapcraft.yaml'
--- snapcraft.yaml	2016-11-30 12:56:37 +0000
+++ snapcraft.yaml	2017-01-24 12:49:29 +0000
@@ -9,7 +9,7 @@
 apps:
     ubuntu-calendar-app:
         command: desktop-launch qmlscene --desktop_file_hint=unity8 $SNAP/usr/share/calendar-app/calendar.qml
-        plugs: [home, gsettings, opengl, platform, unity7, unity8]
+        plugs: [home, gsettings, opengl, platform, unity7, unity8, autopilot-introspection]
 
 plugs:
     platform:
@@ -17,6 +17,12 @@
         content: ubuntu-app-platform1
         target: ubuntu-app-platform
         default-provider: ubuntu-app-platform
+    
+    testability:
+        interface: content
+        content: testability
+        target: testability
+
 # eds-calendar and address-book not available yet. 
 # FIXME: Fixt that after these interfaces appear on syncd
 #    eds-calendar: