Konsist test: ignore Composable extensions.
This commit is contained in:
parent
9f045fc7de
commit
d31cb17000
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ import com.lemonappdev.konsist.api.ext.list.withAllAnnotationsOf
|
||||||
import com.lemonappdev.konsist.api.ext.list.withTopLevel
|
import com.lemonappdev.konsist.api.ext.list.withTopLevel
|
||||||
import com.lemonappdev.konsist.api.ext.list.withoutName
|
import com.lemonappdev.konsist.api.ext.list.withoutName
|
||||||
import com.lemonappdev.konsist.api.ext.list.withoutNameEndingWith
|
import com.lemonappdev.konsist.api.ext.list.withoutNameEndingWith
|
||||||
|
import com.lemonappdev.konsist.api.ext.list.withoutReceiverType
|
||||||
import com.lemonappdev.konsist.api.verify.assertTrue
|
import com.lemonappdev.konsist.api.verify.assertTrue
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
|
|
||||||
|
|
@ -37,6 +38,7 @@ class KonsistComposableTest {
|
||||||
.withoutModifier(KoModifier.PRIVATE)
|
.withoutModifier(KoModifier.PRIVATE)
|
||||||
.withoutNameEndingWith("Preview")
|
.withoutNameEndingWith("Preview")
|
||||||
.withAllAnnotationsOf(Composable::class)
|
.withAllAnnotationsOf(Composable::class)
|
||||||
|
.withoutReceiverType()
|
||||||
.withoutName(
|
.withoutName(
|
||||||
// Add some exceptions...
|
// Add some exceptions...
|
||||||
"OutlinedButton",
|
"OutlinedButton",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue