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

KON-151 Add Suppress Annotation Support #101

Merged
merged 31 commits into from
May 8, 2023

Conversation

nataliapeterwas
Copy link
Collaborator

  • Rename 'Check' to 'Assert'
  • Upd annotations
  • add suppress check in Assert.kt
  • add complicated method to Assert and one test
  • add KoBaseDeclaration.parentDeclaration property and test for it
  • add KoBaseDeclaration.hasParentDeclaration function and tests for it
  • add extensions for KoBaseDeclarationSequenceExt.kt
  • upd assert suppress tests
  • add first test (todo: upd it and add more)
  • fix after merge
  • add new tests
  • Add correct tests
  • fix spotless

@jira-ticket-bot
Copy link

jira-ticket-bot bot commented Apr 28, 2023

…nnotation-support

# Conflicts:
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoBaseDeclaration.kt
@nataliapeterwas nataliapeterwas marked this pull request as ready for review April 28, 2023 11:02
…nnotation-support

# Conflicts:
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kobasedeclaration/snippet/class-has-parent-declaration.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kobasedeclaration/snippet/class-with-parent-declaration.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kobasedeclaration/snippet/class-without-parent-declaration.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-declaration-with-suppress-annotation-with-konsist-prefix.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-declaration-with-suppress-annotation-without-konsist-prefix.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-declarations-in-file-with-suppress-annotation-with-konsist-prefix.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-declarations-in-file-with-suppress-annotation-without-konsist-prefix.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-nested-declarations-when-top-level-declaration-has-suppress-annotation-with-konsist-prefix.kttxt
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/snippet/assert-not-check-nested-declarations-when-top-level-declaration-has-suppress-annotation-without-konsist-prefix.kttxt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoAnnotationDeclarationImpl.kt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoBaseDeclaration.kt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoDeclarationImpl.kt
#	lib/src/test/kotlin/com/lemonappdev/konsist/api/ext/sequence/KoBaseDeclarationSequenceExtTest.kt
…nnotation-support

# Conflicts:
#	lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/verify/assert/AssertTest.kt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoBaseDeclarationImpl.kt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/declaration/KoParametrizedDeclarationImpl.kt
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/verify/Assert.kt
@nataliapeterwas nataliapeterwas requested a review from igorwojda May 5, 2023 10:06
…nnotation-support

# Conflicts:
#	lib/src/main/kotlin/com/lemonappdev/konsist/core/verify/Assert.kt
@nataliapeterwas nataliapeterwas requested a review from igorwojda May 8, 2023 08:50
@igorwojda igorwojda merged commit 9b20966 into main May 8, 2023
@igorwojda igorwojda deleted the KON-85-add-suppress-annotation-support branch May 8, 2023 08:55
@nataliapeterwas nataliapeterwas changed the title KON-85 Add Suppress Annotation Support KON-151 Add Suppress Annotation Support Oct 2, 2023
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