Rename some test
This commit is contained in:
parent
16841e9721
commit
fbd868cf6b
1 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ import org.junit.Test
|
||||||
class KonsistTest {
|
class KonsistTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `classes extending 'Presenter' should have 'Presenter' suffix`() {
|
fun `Classes extending 'Presenter' should have 'Presenter' suffix`() {
|
||||||
Konsist.scopeFromProject()
|
Konsist.scopeFromProject()
|
||||||
.classes()
|
.classes()
|
||||||
.withAllParentsOf(Presenter::class)
|
.withAllParentsOf(Presenter::class)
|
||||||
|
|
@ -44,7 +44,7 @@ class KonsistTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `function with '@PreviewsDayNight' annotation should have 'Preview' suffix`() {
|
fun `Functions with '@PreviewsDayNight' annotation should have 'Preview' suffix`() {
|
||||||
Konsist
|
Konsist
|
||||||
.scopeFromProject()
|
.scopeFromProject()
|
||||||
.functions()
|
.functions()
|
||||||
|
|
@ -57,7 +57,7 @@ class KonsistTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `top level function with '@Composable' annotation starting with a upper case should be placed in a file with the same name`() {
|
fun `Top level function with '@Composable' annotation starting with a upper case should be placed in a file with the same name`() {
|
||||||
Konsist
|
Konsist
|
||||||
.scopeFromProject()
|
.scopeFromProject()
|
||||||
.functions()
|
.functions()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue