commit | e3ef5ad69c837f5bf8abb2abde74e77d77bce0ea | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Tue Mar 24 15:13:53 2020 -0700 |
committer | Winson <chiuwinson@google.com> | Tue Mar 31 03:14:25 2020 -0700 |
tree | 6e5b0c06beb7b57a6f9af2ec65783ebeae260720 | |
parent | da502403439785a7647a5a9630804c4d1b41579a [diff] |
Add test constructor to PackageManagerService Creates a TestParams class for assigning final fields in the PMS constructor so tests can mock/assign whatever fields for the functionality they're testing. This allows unit testing for PMS. Bug: 113638339 Test: none Change-Id: I4b20ec294480bb4639193fb0e51efe26fa2416fb