Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Parse test JSON files and init unit tests with respective parameters (EXPOSUREAPP-3456) #1575

Merged
merged 101 commits into from
Nov 12, 2020

Conversation

AlexanderAlferov
Copy link
Contributor

Created ExposureWindowsCalculationTest in de.rki.coronawarnapp.nearby.windows

Added multiple logs level for better debugging: right now only configuration and comparison table is shown:
private val logLevel = LogLevel.ONLY_COMPARISON

Test class contains only one test that should cover everything.

d4rken and others added 30 commits November 2, 2020 12:02
…mappers responsible for creating the desired formats.
…e-updates-configs

# Conflicts:
#	Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/risklevel/ui/TestRiskLevelCalculationFragmentCWAViewModel.kt
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/transaction/RiskLevelTransaction.kt
#	Corona-Warn-App/src/test/java/de/rki/coronawarnapp/transaction/RiskLevelTransactionTest.kt
…e-updates-configs

# Conflicts:
#	Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/risklevel/ui/TestRiskLevelCalculationFragmentCWAViewModel.kt
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/transaction/RiskLevelTransaction.kt
#	Corona-Warn-App/src/test/java/de/rki/coronawarnapp/transaction/RiskLevelTransactionTest.kt
Provide the server time offset.
Offer a lastUpdatedAt timestamp.
Add an app config specific test screen.
Clean up test screens a bit and move debug options out of API test options.
Switch to config storage via json to be able to store additional meta data fields (i.e. time).
…d its timestamps

to determine an accurate time offset.
…core-updates-configs' into feature/3455-more-frequent-riskscore-updates-configs
…Mapper for new config api (not yet introduced)

Signed-off-by: Kolya Opahle <k.opahle@sap.com>
@AlexanderAlferov AlexanderAlferov added enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers labels Nov 11, 2020
@harambasicluka harambasicluka added this to the 1.8.0 milestone Nov 11, 2020
Copy link
Contributor

@BMItr BMItr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test cases are fine and behaving with expected result! good work 👍
left one comment..

@sonarcloud
Copy link

sonarcloud bot commented Nov 12, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@AlexanderAlferov AlexanderAlferov merged commit 3687be8 into feature/3456-enfv2-main-branch Nov 12, 2020
@AlexanderAlferov AlexanderAlferov deleted the feature/3517-parse-json branch November 12, 2020 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants