Commit 11121ec4 authored by Liquan (Max) Gu's avatar Liquan (Max) Gu Committed by Commit Bot

[PlayBilling] Add test coverage for AndroidPaymentAppFinder

The test coverage report shows that some new added code have not been
covered by tests[1]. This patch adds test coverage for these lines.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2141244/9/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java

This patch also dedup the redundant codes with the newly added method
#assertPaymentAppsHaveIdentifiers() to give you a refreshed feeling.

Bug: 1064740

Change-Id: I104385d2fe26f00e6e2477211c5a5123a9eff045
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144314
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758072}
parent 5908b808
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment