Chromium Code Reviews
DescriptionUse 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 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||