diff options
| author | 2023-06-06 13:18:20 +0000 | |
|---|---|---|
| committer | 2023-06-14 14:24:33 +0000 | |
| commit | f64fd1dc7ce9ac5c0cfc3f18101dbeb92db60bf0 (patch) | |
| tree | f250176fc590b1a8a8208a6e612615ff8ab47655 /libs/androidfw/FileStream.cpp | |
| parent | 878b61b06329ecfa4a0f1367dbbe9c968b1c3930 (diff) | |
Re-enable and fix failing tests in NotificationStackScrollLayoutTest
Fixing some issues with tests:
- mock ScreenOffAnimationController, because if we obtain a real
one, it will register BroadCastReveivers
- mock a res string, to avoid NPEs
- update a matcher
- delete the @UiThreadTest annotations, because it was overwritten by
the SysuiTestCase#mLooperRule anyways
- delete #testAppearFractionCalculation(), because its content is no
longer relevant: we just return a value from
AmbientState#getAppearFractionCalculation().
Fixes: b/284136971
Test: atest NotificationStackScrollLayoutTest
Test: run with abtd to assure we have no flakiness
Change-Id: I044e96db2ad547bad00203ee26cf619fa95ec05e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions