Skip to content

Tweak Kover: improve coverage, disable deprecations, add missing test… #3161

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

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

qwwdfsad
Copy link
Member

… in slf4j

Addresses #3156

@qwwdfsad qwwdfsad marked this pull request as ready for review January 27, 2022 11:21
@qwwdfsad qwwdfsad requested a review from dkhalanskyjb January 27, 2022 11:21
// TODO compile against API 22+ so this can be invoked without reflection.
private val Message.isAsynchronous: Boolean
get() = Message::class.java.getDeclaredMethod("isAsynchronous").invoke(this) as Boolean
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Historical note: this code was simply moved from HandlerDispatcherTest.

}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Life hack: git diff --patience provides a sensible diff instead of this broken mess with methods broken in half. Alas, doesn't seem like there's a way to make Github use another diffing algorithm.

@qwwdfsad qwwdfsad merged commit 76989f7 into develop Feb 1, 2022
@qwwdfsad qwwdfsad deleted the coverage-tweaks branch February 1, 2022 10:51
dee-tree pushed a commit to dee-tree/kotlinx.coroutines that referenced this pull request Jul 21, 2022
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this pull request Sep 14, 2022
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.

2 participants