diff options
author | Jiyong Park <jiyong@google.com> | 2020-06-01 17:56:42 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-06-02 08:22:16 +0000 |
commit | 0e3c24b0a712be2aeaba88cf1fa3ac256b2b746e (patch) | |
tree | 13fdbdaac68045554e55120d9dcdd6bfffe86898 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 89b673a276c94ab51a77c5fe45dacb67be7b2700 (diff) |
Don't use MockIContentProvider
MockIContentProvider is not part of the public API of android.test.mock.
This test has been able to use the private API directly because it is
with 'platform_apis: true' and thus was provided with the impl lib
of the mock library. However, this will be prohibited when the mock
library is built with 'default_to_stubs: true' to hide the impl lib.
In preparation for the change, let the test implement the mock
directly from IContentProvider using Mockito.
Bug: 157007292
Test: m
Test: atest FrameworksUiServicesTests
Merged-In: I6de7f880baa19eebbc46076f6402173c68c44f8d
(cherry picked from commit c6f838e516dcdeaf280dcccf92a2eefaeaa3f035)
Change-Id: I6de7f880baa19eebbc46076f6402173c68c44f8d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions