diff options
| author | 2024-12-02 17:04:40 +0000 | |
|---|---|---|
| committer | 2024-12-02 20:41:46 +0000 | |
| commit | 7bacadc8cd6f21468e46653ae3e2c3151a3e8bb4 (patch) | |
| tree | 1078dbac91bc7a8dee99790daaaaee0c0e2b5616 /libs/input/PointerController.cpp | |
| parent | 5e92696e00794b561ff4758db19d77ad852187b4 (diff) | |
Fix flaky VibrationSettingsTest
Update VibrationSettings to expose all listener and observers for
testing.
Change test class to use mocks for internal services, including activity
manager singleton internal service, to avoid flakiness during test runs.
Make all listener/observer tests deterministic by directly triggering
them from the test class.
Change-Id: I95481acb340a27ef115f2605cc2cb7ed2e668b8a
Fix: 381725186
Test: VibrationSettingsTest
Flag: EXEMPT refactor
Merged-In: I7618b7894fa661d1e657c306557717979cbdedbf
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions