diff options
| author | 2024-01-11 13:59:43 -0700 | |
|---|---|---|
| committer | 2024-01-18 12:45:46 -0700 | |
| commit | a640c1645a9c92fa21f04f13ded10a7f12450687 (patch) | |
| tree | d79520b6627ff286e33466c31bd09089203abfbf /libs/input/SpriteController.cpp | |
| parent | c93d27ce0f087b4ad02c51192d551c6285ebe81c (diff) | |
Baseline Testables updates for Ravenwood.
The `testables` library offers utilities like `TestableContext` and
`TestableLooper` that are heavily used by SystemUI tests.
As part of onboarding SystemUI tests in Ravenwood, we need these
testables to have baseline functionality, even though Ravenwood
doesn't have full `Context` support yet, which we do by quietly
deferring features (like SettingsProvider interactions) when
running under Ravenwood, along with TODOs to circle back as we add
more support under Ravenwood.
For `TestableLooper` we need to defer any `Looper.getMainLooper()`
interactions until the actual test attempts to use the Looper, since
the RavenwoodRule won't have created a main looper before a test
is running.
Bug: 319647875
Test: atest SystemUiRavenTests
Change-Id: I0e38acef814bf9baa0fe61c5478f77a555f312b6
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions