Event verification (EXPOSUREAPP-5423) (#2524)
* Basic setup
* Test verification
* Update DefaultQRCodeVerifierTest.kt
* Invert boolean to reflect method name
* Adjustments to prepare for refactoring of "Verificationkeys" class.
* Add more tests and modify encoded event data
* Update ConfirmCheckInViewModelTest.kt
* Consider warning case
* Add test cases for warning
* Fix test
* Show error
* Add todo
* lint
* Move time warnings into result
* Update ConfirmCheckInViewModelTest.kt
Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com>
Showing
- Corona-Warn-App/src/androidTest/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/DefaultQRCodeVerifierTest.kt 107 additions, 0 deletions...registration/checkins/qrcode/DefaultQRCodeVerifierTest.kt
- Corona-Warn-App/src/deviceForTesters/res/values/strings.xml 1 addition, 1 deletionCorona-Warn-App/src/deviceForTesters/res/values/strings.xml
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/EventRegistrationModule.kt 6 additions, 2 deletions...oronawarnapp/eventregistration/EventRegistrationModule.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/DefaultQRCodeVerifier.kt 42 additions, 0 deletions...ventregistration/checkins/qrcode/DefaultQRCodeVerifier.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/EventQRCode.kt 0 additions, 10 deletions...awarnapp/eventregistration/checkins/qrcode/EventQRCode.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/InvalidQRCodeDataException.kt 6 additions, 0 deletions...egistration/checkins/qrcode/InvalidQRCodeDataException.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/InvalidQRCodeSignatureException.kt 6 additions, 0 deletions...ration/checkins/qrcode/InvalidQRCodeSignatureException.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/QRCodeException.kt 6 additions, 0 deletions...napp/eventregistration/checkins/qrcode/QRCodeException.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/QRCodeVerifier.kt 1 addition, 1 deletion...rnapp/eventregistration/checkins/qrcode/QRCodeVerifier.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/eventregistration/checkins/qrcode/QRCodeVerifyResult.kt 15 additions, 0 deletions...p/eventregistration/checkins/qrcode/QRCodeVerifyResult.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/eventregistration/checkin/ConfirmCheckInFragment.kt 6 additions, 5 deletions...pp/ui/eventregistration/checkin/ConfirmCheckInFragment.kt
- Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/eventregistration/checkin/ConfirmCheckInViewModel.kt 17 additions, 19 deletions...p/ui/eventregistration/checkin/ConfirmCheckInViewModel.kt
- Corona-Warn-App/src/test/java/de/rki/coronawarnapp/ui/eventregistration/checkin/ConfirmCheckInViewModelTest.kt 7 additions, 17 deletions.../eventregistration/checkin/ConfirmCheckInViewModelTest.kt
Loading
Please register or sign in to comment