~cimi/unity8/preview-sharing-fix-broken-binding

« back to all changes in this revision

Viewing changes to tests/qmltests/Notifications/tst_Notifications.qml

  • Committer: Pawel Stolowski
  • Date: 2015-12-15 15:10:16 UTC
  • mfrom: (2079.1.20 unity8)
  • Revision ID: pawel.stolowski@canonical.com-20151215151016-n136phkhmh0jo4ki
Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
                                                            "hints": {},
77
77
                                                            "summary": "Cole Raby",
78
78
                                                            "body": "I did not expect it to be <b>that</b> late.",
79
 
                                                            "icon": "../graphics/avatars/amanda.png",
80
 
                                                            "secondaryIcon": "../graphics/applicationIcons/facebook.png",
 
79
                                                            "icon": "../../tests/graphics/avatars/amanda.png",
 
80
                                                            "secondaryIcon": "../../tests/graphics/applicationIcons/facebook.png",
81
81
                                                            "rawActions": ["reply_id", "Dummy"]})
82
82
            n.completed.connect(mockModel.onCompleted)
83
83
            mockModel.append(n)
90
90
                                                            "hints": {"x-canonical-non-shaped-icon": "true"},
91
91
                                                            "summary": "Contacts",
92
92
                                                            "body": "Synchronised contacts-database &amp; cloud-storage.",
93
 
                                                            "icon": "../graphics/applicationIcons/contacts-app.png",
 
93
                                                            "icon": "../../tests/graphics/applicationIcons/contacts-app.png",
94
94
                                                            "secondaryIcon": "",
95
95
                                                            "rawActions": ["reply_id", "Dummy"]})
96
96
            n.completed.connect(mockModel.onCompleted)
104
104
                                                            "hints": {"x-canonical-non-shaped-icon": "false"},
105
105
                                                            "summary": "Photo upload completed",
106
106
                                                            "body": "",
107
 
                                                            "icon": "../graphics/applicationIcons/facebook.png",
 
107
                                                            "icon": "../../tests/graphics/applicationIcons/facebook.png",
108
108
                                                            "secondaryIcon": "",
109
109
                                                            "rawActions": ["reply_id", "Dummy"]})
110
110
            n.completed.connect(mockModel.onCompleted)
118
118
                                                            "hints": {},
119
119
                                                            "summary": "Interactive notification",
120
120
                                                            "body": "This is a notification that can be clicked",
121
 
                                                            "icon": "../graphics/avatars/anna_olsson.png",
 
121
                                                            "icon": "../../tests/graphics/avatars/anna_olsson.png",
122
122
                                                            "secondaryIcon": "",
123
123
                                                            "rawActions": ["reply_id", "Dummy"]})
124
124
            n.completed.connect(mockModel.onCompleted)
288
288
                    type: Notification.Ephemeral
289
289
                    summary: "Photo upload completed"
290
290
                    body: ""
291
 
                    icon: "../graphics/applicationIcons/facebook.png"
 
291
                    icon: "../../tests/graphics/applicationIcons/facebook.png"
292
292
                    secondaryIcon: ""
293
293
                    value: 0
294
294
                    rawActions: []
302
302
                    summary: "New comment successfully published"
303
303
                    body: ""
304
304
                    icon: ""
305
 
                    secondaryIcon: "../graphics/applicationIcons/facebook.png"
 
305
                    secondaryIcon: "../../tests/graphics/applicationIcons/facebook.png"
306
306
                    value: 0
307
307
                    rawActions: []
308
308
                },
313
313
                            "sound-file": "dummy.ogg"}
314
314
                    summary: "Interactive notification"
315
315
                    body: "This is a notification that can be clicked"
316
 
                    icon: "../graphics/avatars/amanda.png"
 
316
                    icon: "../../tests/graphics/avatars/amanda.png"
317
317
                    secondaryIcon: ""
318
318
                    value: 0
319
319
                    rawActions: ["reply_id", "Dummy"]
325
325
                            "sound-file": "dummy.ogg"}
326
326
                    summary: "Bro Coly"
327
327
                    body: "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
328
 
                    icon: "../graphics/avatars/anna_olsson.png"
 
328
                    icon: "../../tests/graphics/avatars/anna_olsson.png"
329
329
                    secondaryIcon: ""
330
330
                    value: 0
331
331
                    rawActions: ["accept_id", "Accept",
338
338
                            "sound-file": "dummy.ogg"}
339
339
                    summary: "Cole Raby"
340
340
                    body: "I did not expect it to be that late."
341
 
                    icon: "../graphics/avatars/funky.png"
342
 
                    secondaryIcon: "../graphics/applicationIcons/facebook.png"
 
341
                    icon: "../../tests/graphics/avatars/funky.png"
 
342
                    secondaryIcon: "../../tests/graphics/applicationIcons/facebook.png"
343
343
                    value: 0
344
344
                    rawActions: []
345
345
                },