Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Issue 1753763002: Tests for notification preferences intents fired by the Android system. (Closed)

Created:
4 years, 9 months ago by Michael van Ouwerkerk
Modified:
4 years, 9 months ago
CC:
chromium-reviews, Peter Wen, Peter Beverloo, mlamouri+watch-notifications_chromium.org, newt (away)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tests for notification preferences intents fired by the Android system. BUG=461885, 589416 Committed: https://crrev.com/aa94a83c4e3aa516cadd2c4517232245a9d9d662 Cr-Commit-Position: refs/heads/master@{#380606}

Patch Set 1 #

Patch Set 2 : Cleanups. #

Patch Set 3 : Delete TODO now that it's done. #

Total comments: 10

Patch Set 4 : Address peter's comments. #

Total comments: 4

Patch Set 5 : Cleanups. #

Patch Set 6 : Rebase. #

Total comments: 4

Patch Set 7 : Address tedchoc's comments. #

Total comments: 2

Patch Set 8 : Fix setClassName call. #

Messages

Total messages: 52 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/1
4 years, 9 months ago (2016-03-01 15:29:27 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/20001
4 years, 9 months ago (2016-03-01 15:36:04 UTC) #4
Michael van Ouwerkerk
Peter and Ted, could you take a look please?
4 years, 9 months ago (2016-03-01 15:36:45 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/40001
4 years, 9 months ago (2016-03-01 16:08:32 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-01 16:55:43 UTC) #10
Peter Beverloo
Yay tests! Perhaps reference the bug covering the recent crasher as well? https://codereview.chromium.org/1753763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java ...
4 years, 9 months ago (2016-03-01 18:50:59 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/60001
4 years, 9 months ago (2016-03-02 18:29:36 UTC) #14
Michael van Ouwerkerk
Thanks for the quick review Peter. https://codereview.chromium.org/1753763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/1753763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode227 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:227: // instrumentation tests. ...
4 years, 9 months ago (2016-03-02 18:33:12 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 19:24:52 UTC) #18
Ted C
+yfriedman for strictmode thoughts https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode234 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:234: ChromeBrowserInitializer.getInstance(context).handleSynchronousStartup(); I'm a bit confused ...
4 years, 9 months ago (2016-03-08 21:21:05 UTC) #20
Peter Wen
https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode234 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:234: ChromeBrowserInitializer.getInstance(context).handleSynchronousStartup(); On 2016/03/08 21:21:05, Ted C wrote: > I'm ...
4 years, 9 months ago (2016-03-08 22:03:49 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/80001
4 years, 9 months ago (2016-03-09 15:41:36 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/142392)
4 years, 9 months ago (2016-03-09 15:43:30 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/100001
4 years, 9 months ago (2016-03-09 15:51:18 UTC) #28
Michael van Ouwerkerk
Thanks, please take another look. https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java (right): https://codereview.chromium.org/1753763002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java#newcode234 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java:234: ChromeBrowserInitializer.getInstance(context).handleSynchronousStartup(); On 2016/03/08 21:21:05, ...
4 years, 9 months ago (2016-03-09 16:00:52 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/35790)
4 years, 9 months ago (2016-03-09 17:21:21 UTC) #31
Ted C
https://codereview.chromium.org/1753763002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java File chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java (right): https://codereview.chromium.org/1753763002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java#newcode121 chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java:121: StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); I think these should be ...
4 years, 9 months ago (2016-03-09 17:49:32 UTC) #32
Michael van Ouwerkerk
Thanks Ted. Please take another look. https://codereview.chromium.org/1753763002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java File chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java (right): https://codereview.chromium.org/1753763002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java#newcode121 chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java:121: StrictMode.ThreadPolicy oldPolicy = ...
4 years, 9 months ago (2016-03-09 18:40:43 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/120001
4 years, 9 months ago (2016-03-09 18:41:13 UTC) #35
Ted C
lgtm w/ one last change https://codereview.chromium.org/1753763002/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java (right): https://codereview.chromium.org/1753763002/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java#newcode95 chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java:95: .setClassName("org.chromium.chrome", "com.google.android.apps.chrome.Main") same comment ...
4 years, 9 months ago (2016-03-09 18:52:06 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-09 19:29:59 UTC) #38
Yaron
lgtm for the strictmode q - that whitelisting seems reasonable
4 years, 9 months ago (2016-03-10 04:04:25 UTC) #39
Michael van Ouwerkerk
https://codereview.chromium.org/1753763002/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java (right): https://codereview.chromium.org/1753763002/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java#newcode95 chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerIntentTest.java:95: .setClassName("org.chromium.chrome", "com.google.android.apps.chrome.Main") On 2016/03/09 18:52:06, Ted C wrote: > ...
4 years, 9 months ago (2016-03-10 10:04:48 UTC) #40
Michael van Ouwerkerk
Pinging Mr Beverloo as notifications owner.
4 years, 9 months ago (2016-03-10 10:05:38 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/130001
4 years, 9 months ago (2016-03-10 10:05:59 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-10 10:56:02 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753763002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753763002/130001
4 years, 9 months ago (2016-03-11 10:54:37 UTC) #48
commit-bot: I haz the power
Committed patchset #8 (id:130001)
4 years, 9 months ago (2016-03-11 12:09:13 UTC) #50
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 12:10:17 UTC) #52
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/aa94a83c4e3aa516cadd2c4517232245a9d9d662
Cr-Commit-Position: refs/heads/master@{#380606}

Powered by Google App Engine
This is Rietveld 408576698