Reverse order of Transmission Risk Levels used for Diagnosis Keys Upload (closes #678) (#679)
* Reverse order of the "Transmission Risk Levels" profile for Diagnosis Keys upload Also added test for ProtoFormatConverterExtensions.kt * Reverse order of the "Transmission Risk Levels" profile for Diagnosis Keys upload Small adjustments: 1) Use compareByDescending instead of compareBy and asReversed(); 2) leave the list for upload in a reversed chronological order, just like in the iOS app; 3) add sorting to the test to keep the desired values in the test readable in chronological order Co-authored-by:Hee Tatt Ooi <hee.tatt.ooi@sap.com> Co-authored-by:
Jakob Möller <jakob.moeller@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
Showing
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/ProtoFormatConverterExtensions.kt 3 additions, 3 deletions.../rki/coronawarnapp/util/ProtoFormatConverterExtensions.kt
- Corona-Warn-App/src/test/java/de/rki/coronawarnapp/util/ProtoFormatConverterExtensionsTest.kt 124 additions, 0 deletions.../coronawarnapp/util/ProtoFormatConverterExtensionsTest.kt
Please register or sign in to comment