summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2024-04-18 22:35:01 +0000
committer Bryce Lee <brycelee@google.com> 2024-04-25 16:55:36 +0000
commit62ad2da353952b21fa424f1840a11d423b67865c (patch)
tree970908a203d3caefb63267b612cb7341cd14ea50 /libs/input/PointerController.cpp
parent4a6154e627fcdc10f3457b45d0c9441ad4c19064 (diff)
Improve DreamService testability.
This changelist refactors DreamService and associated classes to be more amenable to testing. A significant change is the introduction of a dependency injector, allowing test code to have more control over the DreamService environment. TestDreamEnvironment has been introduced to provide a scoped space for interacting with DreamService. It allows tests to control moving through the dream phases. Bug: 334083490 Flag: N/A Test: atest DreamServiceTest#testCreate Test: atest DreamServiceTest#testBind Test: atest DreamServiceTest#testDreamActivityCreate Test: atest DreamServiceTest#testStart Test: atest DreamServiceTest#testWake Change-Id: I8720c1994ec638559fcd6505588b8f686b5b477e
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions