Skip to content
Snippets Groups Projects
Unverified Commit 8abd1754 authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Corona test result fetching, storage & wiring (EXPOSUREAPP-6007) (#2824)

* Refactoring. Move VerificationServer to `coronatest` package. Rename `TestResult` to `CoronaTestResult` and add new states.

* CoronaTestRepository, draft2. More structure, modularise creation. Wire up HotDataFlow.

* CoronaTestRepository, draft3. Test specific logic delegation to processor modules. Wire up legacy migration.

* CoronaTestRepository, draft4. Test result polling & DataReset.

* CoronaTestRepository, draft5. More migration logic.

* Revert default env change.

* Flesh out test storage further.

* Extend test data with additional attributes, further move migration along.

* Handle setting items as "being processed" when polling for test results.

* Make SubmissionState test specific and remove SubmissionStateProvider.kt in favor of a state mapper for PCRCoronaTest.kt via extension function.

* Make the refresh call blocking, so workers don't need extra logic to keep running.

* Catch polling exceptions on processor level and store the exception.

* Address PR comments and refactor legacy test data migration.

* Adjust property visibility.

* Make registerTest return the new test to allow the UI to navigate based on the return value.

* Refactor test registration to support creating `CoronaTest` instances via TANs.

* More specific key preference key.

* CoronaTestRepository, draft6. Wire up SubmissionRepository.kt with all related UI elements.
Fix dagger injection issues (loop) related to worker scheduling.

* Resolve merge conflicts. Wire up HomeFragmentViewModel.kt

* Fix test display behavior, only one unregistered card needs to be visible?

* Fix unit tests, Pass1.

* Lints

* Fix unit tests, Pass2.

* Fix unit tests, Pass3.

* Fix unit tests, Pass4.

* LINTs

* Fix instrumentation tests.

* Workaround for submission flow until more PRs are merged., grant consent change.

* Fix processing state not being set according to parameter.

* Fix/Adjust corona test storage.

* Fix stableID collision between coronatest home screen cards.

* Bandage unit tests that were affected by moving consent.
parent d0a1ce13
No related branches found
No related tags found
No related merge requests found
Showing
with 570 additions and 188 deletions
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