commit | e85f873584e62a492c58f70191ffb1c44987ed8c | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Wed Jan 25 12:37:14 2023 -0800 |
committer | Seth Moore <sethmo@google.com> | Wed Jan 25 12:37:14 2023 -0800 |
tree | 02cd2efdccdd9bd521dd84f750832d908927fd2a | |
parent | 6671482df9f23012d788bdabe22bc4237bcbf655 [diff] |
Use getFields to get public fields instead of all fields On coverage builds, it seems like there are some non-public fields injected into types, which causes tests to fail. Use getFields instead of getDeclaredFields so that we're only mucking about with the public interface of our ProvisionedKey POJO in the tests. Test: RkpdAppUnitTests (with coverage enabled) Change-Id: I65743f5a38417a91c23b8d47085daea49a99835b