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

Fixed JaCoCo error: Can't add different class with same name #635

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

shanshin
Copy link
Collaborator

Now duplicate classes are added to the JaCoCo report only once - this behavior copies the behavior from Kover report generator

Resolves #634
Resolves #613

Now duplicate classes are added to the JaCoCo report only once - this behavior copies the behavior from Kover report generator

Resolves #634
Resolves #613
Copy link
Member

@sandwwraith sandwwraith left a comment

Choose a reason for hiding this comment

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

Commit says that 'MainActivity.kt' is moved from kover-gradle-plugin/src/functionalTest/templates/builds/android-common-verify/app/src/main/java/kotlinx/kover/test/android/MainActivity.kt. And indeed there is no more MainActivity in android-common-verify. Is this intended?

@shanshin
Copy link
Collaborator Author

Yes, it's ok, in most cases Activity is useless, and isn't tested

@shanshin shanshin merged commit 06f4de4 into main Jun 20, 2024
1 check passed
@shanshin shanshin deleted the jacoco-dup branch June 20, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants