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

Issue 1267243003: 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

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/a69c3f7ba69a30aef2143945b8b2bbf8e6421080 Cr-Commit-Position: refs/heads/master@{#342131}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added utils class and moved two calls there, nits #

Patch Set 3 : Added the utils class #

Messages

Total messages: 14 (6 generated)
Yusuf
5 years, 4 months ago (2015-08-04 21:44:26 UTC) #2
newt (away)
lgtm after comments https://codereview.chromium.org/1267243003/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java (right): https://codereview.chromium.org/1267243003/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java#newcode73 chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java:73: }, 200, 5000)); Swap these two ...
5 years, 4 months ago (2015-08-05 20:32:31 UTC) #3
Yusuf
https://codereview.chromium.org/1267243003/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java (right): https://codereview.chromium.org/1267243003/diff/1/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java#newcode73 chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTestBase.java:73: }, 200, 5000)); On 2015/08/05 20:32:31, newt wrote: > ...
5 years, 4 months ago (2015-08-05 23:26:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267243003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267243003/20001
5 years, 4 months ago (2015-08-05 23:26:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267243003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267243003/40001
5 years, 4 months ago (2015-08-06 16:55:11 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-06 17:00:26 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a69c3f7ba69a30aef2143945b8b2bbf8e6421080 Cr-Commit-Position: refs/heads/master@{#342131}
5 years, 4 months ago (2015-08-06 17:01:20 UTC) #13
Yusuf
5 years, 4 months ago (2015-08-06 19:04:29 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1276993002/ by yusufo@chromium.org.

The reason for reverting is: Test flaking on dowsntream ToT due to deferred
startup not finishing..

Powered by Google App Engine
This is Rietveld 408576698