summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2024-09-23 17:43:57 +0100
committer Lais Andrade <lsandrade@google.com> 2024-09-24 15:40:48 +0100
commit04d29986142ff9b2d2833e65232c6a6f3c777fd8 (patch)
tree8de04bd31d9ac7730936afe390d74c36d5cd1a68 /api/api_test.go
parentfa55e4a9500eab2cd2f13e33d3aa9a28eb4626da (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. Fix: 355216857 Test: VibrationSettingsTest Flag: EXEMPT refactor Change-Id: I7618b7894fa661d1e657c306557717979cbdedbf
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions