Skip to content
Snippets Groups Projects
Unverified Commit daa6c773 authored by Lukas Lechner's avatar Lukas Lechner Committed by GitHub
Browse files

Create events repository (EXPOSUREAPP-5470) (EXPOSUREAPP-5482)(EXPOSUREAPP-5484) (#2549)

* Add events card in event registration test fragment

* Format

* Create empty fragments and implement navigation

* Create layout for CreateEventTestFragment.kt

* Add spinner for event type

* Build event object from input

* Create database for event registration and store events in it

* Fix date issue

* Show stored events in a simple way

* Make event list more pretty

* Add button to delete all events in ShowStoredEventsTestFragment.kt

* Change the functions of HostedEventRepository.kt to regular functions instead of suspend functions

* Change text in EventRegistration TestFragment

* Fix merge issues

* Add parameters from new TechSpec

* Change wording from 'hosted Events' to 'TraceLocation'

* Delete event registration database on app reset

* Fix detect issue 'MaxLineLength'

* Remove parcelable from TraceLocationEntity.kt

* Map TraceLocationEntity to TraceLocation in TraceLocationRepository

* Use the Instant.seconds extension function

* Use existing EventRegistrationModule.kt instead of creating a new one

* Only delete traceLocations on App reset instead of all tables in TraceLocationRepository.kt

* Add named parameters to TraceLocation mapping

* Add unit test for TraceLocation Mapper

* Add unit tests for EventRegistrationConverters

* Add unit tests for TraceLocationEntity mapping

* Add events database table to 'TraceLocation' database and remove 'EventRegistration' database

* Add database tests for TraceLocations

* Fix issue in EventRegistrationModule.kt

* Add database tests for checkInDao

* Fix detekt maxLineLength issue

* Fix inconsistency in TraceLocationEntity.kt

* Fix ktlint issues

* Inherit from BaseTest or BaseTestInstrumentation in tests

* Fix issue in TraceLocationConverters.kt
parent 1a19ad79
No related branches found
No related tags found
No related merge requests found
Showing
with 908 additions and 15 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