Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d44463a authored by Evan Rosky's avatar Evan Rosky
Browse files

De-Mock PhysicalDisplaySwitch transit tests

These tests had everything mocked out so they weren't
really testing anything besides some very specific
implementation details. This meant that any changes
to implementation required changes to the test and the
mocks. Also, if the mocked-out impl didn't do what was
expected, the tests wouldn't catch it.

This CL changes these tests to use WindowTestsBase so
that it can run against "real" code. Then this converts
mock-impl verifications to assertions on the *effects* of
calling the tested APIs.

Bug: 325114242
Test: atest PhysicalDisplaySwitchTransitionLauncherTest
Change-Id: I656cc8a1cfb836e1c0625519ff721a84c3c0d0cb
parent 22ce6097
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment