commit | 7630a4e0eabe859389f3b2c62baf995cfe4305a5 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Mon Feb 13 12:19:15 2023 -0800 |
committer | Felipe Leme <felipeal@google.com> | Mon Feb 13 14:24:09 2023 -0800 |
tree | 8066c7a57c58d408b7411545056011515d2d730d | |
parent | 35b1662ea3a7b743daf00a019d134e9a725c301c [diff] |
Improvements on KeyEventTest. These improvements will make it easier to change KeyEvent constructors: - Replaced JUnit assertions by Truth's. - Add a message explaining which field assertion failes. - Use proper APIs to assert collections. - Replaced some assertions to use expect. Test: atest KeyEventTest Bug: 266851112 Bug: 268103680 Change-Id: I79a35d8dd3a0bc7eca0650c4d2b42613c94e9d8e