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

Skip to content
Commit 3f5177aa authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Clean up `DesktopTasksControllerTest`

Remove unnecessary mocking of
`DesktopModeStatus.enforceDeviceRestrictions` and
`DesktopModeStatus.isDesktopModeSupported`.

Remove tests which attempt to modify
`DesktopModeStatus.canEnterDesktopMode` through mocking as these have no
affect as `canEnterDesktopMode` is only used in the initialisation of
the `DesktopTasksController` which happens in the setup before the test.

Fixes: 346785442
Test: atest WMShellUnitTests:DesktopTasksControllerTest
Change-Id: I2a6a87bb74d5588cbab9bd24e9e0a261913a9437
parent b9536e65
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