commit | 0f48c00d534e663c3b47f8f4676bf9dd67b0368e | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Mar 21 01:50:08 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Sun Mar 21 01:54:51 2021 +0900 |
tree | 3df41f4205731501beaf7bf97820c79c46b4c2d1 | |
parent | c382ea55c5db21f3bbad6d1b5565c51829c972d7 [diff] |
Cherry-pick some test changes from ag/13210542. ag/13210542 switched from using reset() on mResources to using clearInvocations(). This ensures that only the previous calls are reset, and that the mock continues to behave according to what was specified in setUp. Test: 183097033 Test: test-only change Merged-In: I35d28c8df341dbbac2774026c6ca749e296c0482 Change-Id: Ieef982d2df50db3014f35f58a77674939ebe0d43