Refactor android.test.mock dependents with Mockito |
|
Issue descriptionandroid.test.mock is deprecated and any test that utilizes android.test.mock should be refactored to use Mockito instead. This bug is created to keep this progress
,
Feb 5 2018
Can we use Mockito in our instrumentation tests? I thought it was only available in our junit tests.
,
Jun 22 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bb76c8ae7cd2135463f77130066fce3b9963416b commit bb76c8ae7cd2135463f77130066fce3b9963416b Author: John Budorick <jbudorick@chromium.org> Date: Fri Jun 22 21:37:04 2018 Switch AppBannerManagerTest from MockPackageManager to mockito. Bug: 807764 Change-Id: I0758c2939049e22b60d653f69ce7537cb283487a Reviewed-on: https://chromium-review.googlesource.com/1103598 Commit-Queue: John Budorick <jbudorick@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Ted Choc <tedchoc@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#569792} [modify] https://crrev.com/bb76c8ae7cd2135463f77130066fce3b9963416b/build/android/pylib/local/device/local_device_instrumentation_test_run.py [modify] https://crrev.com/bb76c8ae7cd2135463f77130066fce3b9963416b/chrome/android/BUILD.gn [modify] https://crrev.com/bb76c8ae7cd2135463f77130066fce3b9963416b/chrome/android/javatests/src/org/chromium/chrome/browser/banners/AppBannerManagerTest.java
,
Oct 23
I made 2 patches for this issue. https://chromium-review.googlesource.com/c/chromium/src/+/1133606 https://chromium-review.googlesource.com/c/chromium/src/+/1131155 But, tests are failing in kitkat tests. Is there any solution for this? |
|
►
Sign in to add a comment |
|
Comment 1 by yolandyan@chromium.org
, Jan 31 2018