-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests for sync algorithm #974
Conversation
c452bde
to
e3afd4a
Compare
Note: @ArnyminerZ tests are failing due to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, and as you have said, runs correctly locally.
The only thing that bothers me a bit is the getters for TestSyncer
override val authority: String
get() = ""
override val serviceType: String
get() = ""
but it doesn't matter, so I guess it can be like that without any issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good! Have only minor comments :)
app/src/androidTest/kotlin/at/bitfire/davdroid/sync/SyncerTest.kt
Outdated
Show resolved
Hide resolved
- update comments - update test method spacing - replace empty array method
Purpose
Tests for the sync algorithm.
Short description
I have tried to have a single test for one specific behaviour only. So the tests are very verbose on purpose.
Checklist