DescriptionAdded end-to-end tests for navigator.share.
There are separate tests for pre-Lollipop and post-Lollipop Android
(which run completely different code paths in ShareHelper and exhibit
different behaviour). On pre-Lolliop devices, the post-Lollipop tests
are skipped. On post-Lollipop devices, both sets of tests are run.
Adds some new bits to ShareHelper to facilitate testing.
BUG=645006
Committed: https://crrev.com/03d2b0f7c783a91ffdb37942208ffa4ec79b6fb9
Cr-Commit-Position: refs/heads/master@{#421417}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase. #
Total comments: 6
Patch Set 3 : Rebase. #Patch Set 4 : Address review. #Patch Set 5 : More minor nits. #Patch Set 6 : Rebase. #
Total comments: 6
Patch Set 7 : Respond to review (except the default implementation thing). #Patch Set 8 : Use a default implementation of the interface to avoid if statements. #Patch Set 9 : Revert Patch Set 8, as discussed. #Patch Set 10 : Rebase. #
Depends on Patchset: Messages
Total messages: 28 (18 generated)
|