diff options
| author | 2024-02-16 11:42:03 -0800 | |
|---|---|---|
| committer | 2024-02-16 11:49:28 -0800 | |
| commit | 5d44463ac4e00128821fc4cdfe307dde6475402e (patch) | |
| tree | b633cad73b41692de01e3aa2e476dcc920e0ce85 /libs/input/PointerController.cpp | |
| parent | 22ce6097e53874f189fd7f7d80818241135eb363 (diff) | |
De-Mock PhysicalDisplaySwitch transit tests
These tests had everything mocked out so they weren't
really testing anything besides some very specific
implementation details. This meant that any changes
to implementation required changes to the test and the
mocks. Also, if the mocked-out impl didn't do what was
expected, the tests wouldn't catch it.
This CL changes these tests to use WindowTestsBase so
that it can run against "real" code. Then this converts
mock-impl verifications to assertions on the *effects* of
calling the tested APIs.
Bug: 325114242
Test: atest PhysicalDisplaySwitchTransitionLauncherTest
Change-Id: I656cc8a1cfb836e1c0625519ff721a84c3c0d0cb
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions