commit | 471659f30d5ef5561a5080a277cf77fa7b943c9b | [log] [tgz] |
---|---|---|
author | Jeremy Goldman <goldmanj@google.com> | Thu Dec 17 14:39:19 2020 +0800 |
committer | Jeremy Goldman <goldmanj@google.com> | Fri Dec 18 12:06:16 2020 +0000 |
tree | 7f4b0c0d4e5176b624c06d58b1fa155633b8bd79 | |
parent | 836df5eb3a548d1bdb9f65fae0c27715bec5e28c [diff] |
ModuleLicenseProviderTest converted to JUnit The superclass ContentProvider's "getContext" method is final and cannot be mocked, so a helper method visible for testing was added to allow for context injection. Bug: 175389659 Test: atest -c ModuleLicenseProviderTest Change-Id: I9e20171340ae0a48d74fae44c7b356ea67dba43b