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

Skip to content
Commit f3a383c6 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Remove the dependency on Mockito to create PeopleSpace fakes (1/2)

This CL refactors PeopleViewModel so that it can be created easily with
fake values in the Gallery app and screenshot tests. That way, we don't
need to depend on Mockito to create fake dependencies of the ViewModel,
which is necessary for deviceless RNG tests (and better architecture)
and Compose @Previews.

This is a pure refactoring that doesn't change any logic in the code.

Bug: 304719047
Test: atest PeopleSpaceScreenshotTest
Change-Id: I701a2fa6b5dd933c9be9d6b0d97deb62b75ba3d8
parent 1298fe85
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