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

Issue 1950983008: Use waitForActivity in CustomTabActivityTest (Closed)

Created:
4 years, 7 months ago by kraush
Modified:
4 years, 7 months ago
Reviewers:
Benoit L
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use waitForActivity in CustomTabActivityTest CustomTabActivityTest#testTabReparenting* was assuming that checkMonitorHit would also mean that getLastActivity() is guaranteed to return an Activity. Since that assumption was incorrect, this change gets the logic in line with the other CustomTabActivityTest monitors and changes it to use waitForActivityWithTimeout instead. The CriteriaHelper timeout is used to keep the timeout identical to how it was before. BUG=610091 Committed: https://crrev.com/c3be22bfd9c16f9b6ca288d9737a1df5dde2ee0b Cr-Commit-Position: refs/heads/master@{#392611}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
kraush
Hi Benoit, Can you take a look at this change to stabilize some tests? Thanks! ...
4 years, 7 months ago (2016-05-07 16:22:50 UTC) #2
Benoit L
On 2016/05/07 16:22:50, kraush wrote: > Hi Benoit, > > Can you take a look ...
4 years, 7 months ago (2016-05-10 13:26:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950983008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950983008/1
4 years, 7 months ago (2016-05-10 14:32:00 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-10 15:24:32 UTC) #6
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 15:25:51 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c3be22bfd9c16f9b6ca288d9737a1df5dde2ee0b
Cr-Commit-Position: refs/heads/master@{#392611}

Powered by Google App Engine
This is Rietveld 408576698