diff options
author | dharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 05:14:03 +0000 |
---|---|---|
committer | dharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 05:14:03 +0000 |
commit | 83e5dc523554d18e4b3619e3b4c0bd106ca811e8 (patch) | |
tree | 6879b842e03b5344a1084753b121dc765b6c41ba | |
parent | 199719963a210e009d3d8687f6cc60509fdf441b (diff) | |
download | chromium_src-83e5dc523554d18e4b3619e3b4c0bd106ca811e8.zip chromium_src-83e5dc523554d18e4b3619e3b4c0bd106ca811e8.tar.gz chromium_src-83e5dc523554d18e4b3619e3b4c0bd106ca811e8.tar.bz2 |
Made Notifications Galore! test app work with older Notification API.
The previously checked in version only worked with the canary and tip of
tree versions of the notification API, this version will also support
dev versions. It detects based on the browser version which test data to
use.
BUG=NONE
TBR=miket@chromium.org
Review URL: https://codereview.chromium.org/12538003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187502 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed, 846 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.0.0.json b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.0.0.json new file mode 100644 index 0000000..b1a82ed --- /dev/null +++ b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.0.0.json @@ -0,0 +1,282 @@ +[ + { + "copyright": [ + "Copyright (c) 2013 The Chromium Authors. All rights reserved.", + "Use of this source code is governed by a BSD-style license that can be", + "found in the LICENSE file." + ], + "api": "experimental.notification", + "events": [ + "onDisplayed", + "onClosed", + "onClicked", + "onButtonClicked" + ], + "globals": { + "templateType": "$?", + "priority": "$!" + } + }, + { + "sectionName": "WebKit Notifications", + "notificationType": "webkit", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Simple Notifications", + "notificationType": "simple", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Basic Notifications", + "notificationType": "basic", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum", + "buttons": [ + {"title": "Call", "iconUrl": "/images/call-16x16.png"}, + {"title": "Send Email", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + }, + { + "iconUrl": "/images/fruit1-80x80.jpg", + "title": "Notification #$#: Pears!", + "message": "Pyrus" + }, + { + "iconUrl": "/images/fruit2-80x80.jpg", + "title": "Notification #$#: Oranges!", + "message": "Citrus sinensis" + }, + { + "iconUrl": "/images/fruit3-80x80.jpg", + "title": "Notification #$#: Strawberries!", + "message": "Fragaria ananassa" + }, + { + "iconUrl": "/images/fruit4-80x80.jpg", + "title": "Notification #$#: Raspberries!", + "message": "Rubus idaeus" + }, + { + "iconUrl": "/images/fruit5-80x80.jpg", + "title": "Notification #$#: Blueberries!", + "message": "Vaccinium cyanococcus" + } + ] + }, + { + "sectionName": "Image Notifications", + "notificationType": "image", + "notificationOptions": [ + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Pictures from Tahoe", + "imageUrl": "/images/tahoe-300x225.jpg" + }, + { + "iconUrl": "/images/flower1-80x80.jpg", + "title": "Notification #$#: Daffodils!", + "message": "Narcissus", + "imageUrl": "/images/image1-300x225.jpg", + "buttons": [ + {"title": "Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing"}, + {"title": "Elit Sed Do"} + ] + }, + { + "iconUrl": "/images/flower2-80x80.jpg", + "title": "Notification #$#: Sunflowers!", + "message": "Helianthus annuus", + "imageUrl": "/images/image2-300x225.jpg" + }, + { + "iconUrl": "/images/flower3-80x80.jpg", + "title": "Notification #$#: Poinsettias!", + "message": "Euphorbia pulcherrima", + "imageUrl": "/images/image3-300x172.jpg" + }, + { + "iconUrl": "/images/flower4-80x80.jpg", + "title": "Notification #$#: Heather!", + "message": "Calluna vulgaris", + "imageUrl": "/images/image4-200x300.jpg" + } + ] + }, + { + "sectionName": "List Notifications", + "notificationType": "list", + "notificationOptions": [ + { + "iconUrl": "/images/inbox-00-80x80.png", + "title": "15 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ], + "buttons": [ + {"title": "Send Message", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/inbox-01-80x80.png", + "title": "1 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"} + ] + }, + { + "iconUrl": "/images/inbox-02-80x80.png", + "title": "2 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing elit"} + ] + }, + { + "iconUrl": "/images/inbox-03-80x80.png", + "title": "3 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-05-80x80.png", + "title": "5 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ] + }, + { + "iconUrl": "/images/inbox-08-80x80.png", + "title": "8 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-13-80x80.png", + "title": "13 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/plant1-80x80.jpg", + "title": "Notification #$#: Yucca!", + "message": "Asparagaceae agavoideae", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + }, + { + "iconUrl": "/images/plant2-80x80.jpg", + "title": "Notification #$#: Basil!", + "message": "Ocimum basilicum", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + } + ] + } +] diff --git a/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1432.2.json b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1432.2.json new file mode 100644 index 0000000..77bf472 --- /dev/null +++ b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1432.2.json @@ -0,0 +1,282 @@ +[ + { + "copyright": [ + "Copyright (c) 2013 The Chromium Authors. All rights reserved.", + "Use of this source code is governed by a BSD-style license that can be", + "found in the LICENSE file." + ], + "api": "notifications", + "events": [ + "onDisplayed", + "onClosed", + "onClicked", + "onButtonClicked" + ], + "globals": { + "templateType": "$?", + "priority": "$!" + } + }, + { + "sectionName": "WebKit Notifications", + "notificationType": "webkit", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Simple Notifications", + "notificationType": "simple", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Basic Notifications", + "notificationType": "basic", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum", + "buttons": [ + {"title": "Call", "iconUrl": "/images/call-16x16.png"}, + {"title": "Send Email", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + }, + { + "iconUrl": "/images/fruit1-80x80.jpg", + "title": "Notification #$#: Pears!", + "message": "Pyrus" + }, + { + "iconUrl": "/images/fruit2-80x80.jpg", + "title": "Notification #$#: Oranges!", + "message": "Citrus sinensis" + }, + { + "iconUrl": "/images/fruit3-80x80.jpg", + "title": "Notification #$#: Strawberries!", + "message": "Fragaria ananassa" + }, + { + "iconUrl": "/images/fruit4-80x80.jpg", + "title": "Notification #$#: Raspberries!", + "message": "Rubus idaeus" + }, + { + "iconUrl": "/images/fruit5-80x80.jpg", + "title": "Notification #$#: Blueberries!", + "message": "Vaccinium cyanococcus" + } + ] + }, + { + "sectionName": "Image Notifications", + "notificationType": "image", + "notificationOptions": [ + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Pictures from Tahoe", + "imageUrl": "/images/tahoe-300x225.jpg" + }, + { + "iconUrl": "/images/flower1-80x80.jpg", + "title": "Notification #$#: Daffodils!", + "message": "Narcissus", + "imageUrl": "/images/image1-300x225.jpg", + "buttons": [ + {"title": "Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing"}, + {"title": "Elit Sed Do"} + ] + }, + { + "iconUrl": "/images/flower2-80x80.jpg", + "title": "Notification #$#: Sunflowers!", + "message": "Helianthus annuus", + "imageUrl": "/images/image2-300x225.jpg" + }, + { + "iconUrl": "/images/flower3-80x80.jpg", + "title": "Notification #$#: Poinsettias!", + "message": "Euphorbia pulcherrima", + "imageUrl": "/images/image3-300x172.jpg" + }, + { + "iconUrl": "/images/flower4-80x80.jpg", + "title": "Notification #$#: Heather!", + "message": "Calluna vulgaris", + "imageUrl": "/images/image4-200x300.jpg" + } + ] + }, + { + "sectionName": "List Notifications", + "notificationType": "list", + "notificationOptions": [ + { + "iconUrl": "/images/inbox-00-80x80.png", + "title": "15 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ], + "buttons": [ + {"title": "Send Message", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/inbox-01-80x80.png", + "title": "1 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"} + ] + }, + { + "iconUrl": "/images/inbox-02-80x80.png", + "title": "2 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing elit"} + ] + }, + { + "iconUrl": "/images/inbox-03-80x80.png", + "title": "3 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-05-80x80.png", + "title": "5 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ] + }, + { + "iconUrl": "/images/inbox-08-80x80.png", + "title": "8 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-13-80x80.png", + "title": "13 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/plant1-80x80.jpg", + "title": "Notification #$#: Yucca!", + "message": "Asparagaceae agavoideae", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + }, + { + "iconUrl": "/images/plant2-80x80.jpg", + "title": "Notification #$#: Basil!", + "message": "Ocimum basilicum", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + } + ] + } +] diff --git a/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1433.1.json b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1433.1.json new file mode 100644 index 0000000..fcfca7a --- /dev/null +++ b/chrome/test/data/extensions/api_test/notifications/galore/app/data/27.0.1433.1.json @@ -0,0 +1,282 @@ +[ + { + "copyright": [ + "Copyright (c) 2013 The Chromium Authors. All rights reserved.", + "Use of this source code is governed by a BSD-style license that can be", + "found in the LICENSE file." + ], + "api": "notifications", + "events": [ + "onDisplayed", + "onClosed", + "onClicked", + "onButtonClicked" + ], + "globals": { + "type": "$?", + "priority": "$!" + } + }, + { + "sectionName": "WebKit Notifications", + "notificationType": "webkit", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Simple Notifications", + "notificationType": "simple", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum" + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + } + ] + }, + { + "sectionName": "Basic Notifications", + "notificationType": "basic", + "notificationOptions": [ + { + "iconUrl": "/images/man1-80x80.jpg", + "title": "Althe Frazon", + "message": "Lorem ipsum", + "buttons": [ + {"title": "Call", "iconUrl": "/images/call-16x16.png"}, + {"title": "Send Email", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/woman1-80x80.jpg", + "title": "Kathrine Doiss", + "message": "Dolor sit amet" + }, + { + "iconUrl": "/images/woman2-80x80.jpg", + "title": "Jamie Haynig", + "message": "Consectetur adipisicing elit" + }, + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Sed do eiusmod tempor incididunt" + }, + { + "iconUrl": "/images/fruit1-80x80.jpg", + "title": "Notification #$#: Pears!", + "message": "Pyrus" + }, + { + "iconUrl": "/images/fruit2-80x80.jpg", + "title": "Notification #$#: Oranges!", + "message": "Citrus sinensis" + }, + { + "iconUrl": "/images/fruit3-80x80.jpg", + "title": "Notification #$#: Strawberries!", + "message": "Fragaria ananassa" + }, + { + "iconUrl": "/images/fruit4-80x80.jpg", + "title": "Notification #$#: Raspberries!", + "message": "Rubus idaeus" + }, + { + "iconUrl": "/images/fruit5-80x80.jpg", + "title": "Notification #$#: Blueberries!", + "message": "Vaccinium cyanococcus" + } + ] + }, + { + "sectionName": "Image Notifications", + "notificationType": "image", + "notificationOptions": [ + { + "iconUrl": "/images/woman3-80x80.jpg", + "title": "Maricia Rilari", + "message": "Pictures from Tahoe", + "imageUrl": "/images/tahoe-300x225.jpg" + }, + { + "iconUrl": "/images/flower1-80x80.jpg", + "title": "Notification #$#: Daffodils!", + "message": "Narcissus", + "imageUrl": "/images/image1-300x225.jpg", + "buttons": [ + {"title": "Lorem Ipsum Dolor Sit Amet Consectetur Adipisicing"}, + {"title": "Elit Sed Do"} + ] + }, + { + "iconUrl": "/images/flower2-80x80.jpg", + "title": "Notification #$#: Sunflowers!", + "message": "Helianthus annuus", + "imageUrl": "/images/image2-300x225.jpg" + }, + { + "iconUrl": "/images/flower3-80x80.jpg", + "title": "Notification #$#: Poinsettias!", + "message": "Euphorbia pulcherrima", + "imageUrl": "/images/image3-300x172.jpg" + }, + { + "iconUrl": "/images/flower4-80x80.jpg", + "title": "Notification #$#: Heather!", + "message": "Calluna vulgaris", + "imageUrl": "/images/image4-200x300.jpg" + } + ] + }, + { + "sectionName": "List Notifications", + "notificationType": "list", + "notificationOptions": [ + { + "iconUrl": "/images/inbox-00-80x80.png", + "title": "15 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ], + "buttons": [ + {"title": "Send Message", "iconUrl": "/images/send-16x16.png"} + ] + }, + { + "iconUrl": "/images/inbox-01-80x80.png", + "title": "1 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"} + ] + }, + { + "iconUrl": "/images/inbox-02-80x80.png", + "title": "2 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing elit"} + ] + }, + { + "iconUrl": "/images/inbox-03-80x80.png", + "title": "3 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-05-80x80.png", + "title": "5 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"} + ] + }, + { + "iconUrl": "/images/inbox-08-80x80.png", + "title": "8 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/inbox-13-80x80.png", + "title": "13 new messages", + "message": "ramon.widdel@example.com", + "items": [ + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incidid"}, + {"title": "Kelly Seiken", "message": "Ut labore et dolore magna ali"}, + {"title": "Maricia Rilari", "message": "Ut enim ad minim veniam"}, + {"title": "Althe Frazon", "message": "Lorem ipsum dolor sit amet"}, + {"title": "Kathrine Doiss", "message": "Consectetur adipisicing eli"}, + {"title": "Jamie Haynig", "message": "Sed do eiusmod tempor incididu"} + ] + }, + { + "iconUrl": "/images/plant1-80x80.jpg", + "title": "Notification #$#: Yucca!", + "message": "Asparagaceae agavoideae", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + }, + { + "iconUrl": "/images/plant2-80x80.jpg", + "title": "Notification #$#: Basil!", + "message": "Ocimum basilicum", + "items": [ + {"title": "One", "message": "Unus"}, + {"title": "Two", "message": "Duo"}, + {"title": "Three", "message": "Tres"} + ] + } + ] + } +] |