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

Commit 64824e20 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Splitting latency tracker test into two test classes

DisplaySwitchLatencyTrackerTest was covering a lot of cases also implicitly testing FoldableDisplaySwitchTrackingInteractor. But that made tests and setup pretty complex so this CL is creating separate test for FoldableDisplaySwitchTrackingInteractor and leaving in DisplaySwitchLatencyTrackerTest only tests related to that class functionality.

Also that required injecting interface instead of class into DisplaySwitchLatencyTracker to provide easy to use fake. That in turn triggered several drive-by dagger changes.

Bug: 405128401
Flag: EXEMPT mostly test refactoring
Test: DisplaySwitchLatencyTrackerTest, FoldableDisplaySwitchTrackingInteractorTest
Change-Id: I0f832be0ae4859db85477be7ce70600aced23f96
parent 920b161b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment