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

Issue 1278473005: Reland : Add custom tabs tests using intents with non-null sessions (Closed)

Created:
5 years, 4 months ago by Yusuf
Modified:
5 years, 4 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, ianwen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland : Add custom tabs tests using intents with non-null sessions All current tests either test the service side session creation without launching intents or the UI customization with no sessions. This change add a trivial test that uses a valid session to launch an intent and also another more complex test that reloads a new URL in the same tab when the same session is used inside the intent. Note that the service side is interfaced directly through CustomTabConnection and this doesn't exactly replicate the actual scenario since all calls come from the same process. Committed: https://crrev.com/b3131d5bf11ef55dbbb54c0e84ae4bdb787a7ec2 Cr-Commit-Position: refs/heads/master@{#342721}

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits #

Patch Set 3 : Add startup callback on UI thread. #

Messages

Total messages: 18 (8 generated)
Yusuf
Relanding https://codereview.chromium.org/1267243003/ This was reverted because of a timeout with deferred startup. Added more steps ...
5 years, 4 months ago (2015-08-07 18:39:16 UTC) #2
newt (away)
lgtm https://codereview.chromium.org/1278473005/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java (right): https://codereview.chromium.org/1278473005/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java#newcode406 chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java:406: return mActivity.getActivityTab().getUrl().equals(TEST_PAGE); should you wait for the page ...
5 years, 4 months ago (2015-08-10 19:59:23 UTC) #3
Yusuf
https://codereview.chromium.org/1278473005/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java (right): https://codereview.chromium.org/1278473005/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java#newcode406 chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java:406: return mActivity.getActivityTab().getUrl().equals(TEST_PAGE); On 2015/08/10 19:59:23, newt wrote: > should ...
5 years, 4 months ago (2015-08-10 20:41:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278473005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278473005/20001
5 years, 4 months ago (2015-08-10 20:41:15 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/96478)
5 years, 4 months ago (2015-08-10 20:49:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278473005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278473005/20001
5 years, 4 months ago (2015-08-10 21:09:01 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/54048)
5 years, 4 months ago (2015-08-10 22:12:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278473005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278473005/40001
5 years, 4 months ago (2015-08-10 22:27:33 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-10 22:57:14 UTC) #17
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 22:57:53 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b3131d5bf11ef55dbbb54c0e84ae4bdb787a7ec2
Cr-Commit-Position: refs/heads/master@{#342721}

Powered by Google App Engine
This is Rietveld 408576698