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

Commit 6ee96f4e authored by Jiaming Cheng's avatar Jiaming Cheng
Browse files

[Flexiglass] Fix NotificationLockscreenUserManagerTest

This cl updates the test's setUp() method to correctly mock the
DeviceUnlockedInteractor dependencies (mDeviceUnlockedInteractorLazy and
mDeviceUnlockStatusStateFlow) when SceneContainerFlag is enabled.
Specifically, it ensures that:
- mDeviceUnlockedInteractorLazy.get() returns the intended
mDeviceUnlockedInteractor mock.
- mDeviceUnlockStatusStateFlow.getValue() returns a default
DeviceUnlockStatus object.

Bug: 416716455
Flag: com.android.systemui.scene_container
Test: com.android.systemui.statusbar.NotificationLockscreenUserManagerTest
     Locally run this test and verity all the tests are passed with the
     `@EnableSceneContainer` anotation.
Change-Id: I8fccac6f60e701b5cff12d9f1c2db70de3ef7bf9
parent 0c53eace
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