Skip to content
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

Increase code coverage in core module #3962

Merged
merged 3 commits into from
Dec 20, 2023
Merged

Increase code coverage in core module #3962

merged 3 commits into from
Dec 20, 2023

Conversation

qwwdfsad
Copy link
Collaborator

@qwwdfsad qwwdfsad commented Dec 1, 2023

  • Add missing tests for reasonable things (i.e. invariants are tested, things like utility 'toString' are not)
  • Remove some unused code
  • Add a few more excludes
  • Move Broadcast-related deprecations to 'Deprecated.kt' and promote them to ERROR

* Add missing tests for reasonable things (i.e. invariants are tested, things like utility 'toString' are not)
* Remove some unused code
* Add a few more excludes
* Move Broadcast-related deprecations to 'Deprecated.kt' and promote them to ERROR
@qwwdfsad
Copy link
Collaborator Author

qwwdfsad commented Dec 1, 2023

Current coverage without stress and lincheck tests is 87 and fluctuates a little (because of some intrinsic concurrency) and should consistently pass our CI check.
I'll investigate separately about inclusion of stress tests into coverage data (then it's close to 90-92)

finish(2)
}
assertFalse(mutex.isLocked)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tested more thoroughly in #3986

@qwwdfsad qwwdfsad merged commit b05e15e into develop Dec 20, 2023
1 check passed
@qwwdfsad qwwdfsad deleted the increase-coverage branch December 20, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants