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

Skip to content

1430 anonymous domain layer

Description

Implemented domain layer for Anonymous users. The domain layer communicates with modules to get data and provide it to use cases. Usecase will provide specific results based on scenarios.

Technical details

Anonymous Domain Layer consists of below classes-

  1. LoginRepository interface - Maintain definition for user login
  2. LoginRepositoryImpl class - Class will help the domain layer to connect with the data layer
  3. UserLoginUseCase class - Usecase class helps to provide specific data for various scenarios. In this case, provide data for anonymous users.

Tests

LoginRepositoryTest - Here, we have tested the anonymous user API. using mocking we have mocked the data layer anonymous API and tested success and failure flow.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/1430

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading