[Native][tests] Tests to check dumped test listing
^KT-50316
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package infrastructure.testListing.bar
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Test
|
||||
fun topLevel() = Unit
|
||||
|
||||
class Outer {
|
||||
@Test
|
||||
fun outer() = Unit
|
||||
|
||||
class Nested {
|
||||
@Test
|
||||
fun nested() = Unit
|
||||
}
|
||||
}
|
||||
|
||||
object O {
|
||||
@Test
|
||||
fun testObject() = Unit
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package infrastructure.testListing.bar
|
||||
|
||||
import kotlin.test.*
|
||||
import infrastructure.testListing.foo.fortyTwo
|
||||
|
||||
@Test
|
||||
fun testFortyTwo() {
|
||||
assertEquals(42, fortyTwo())
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
infrastructure/testListing/bar/Common_testsKt:topLevel
|
||||
infrastructure/testListing/bar/O:testObject
|
||||
infrastructure/testListing/bar/Outer.Nested:nested
|
||||
infrastructure/testListing/bar/Outer:outer
|
||||
infrastructure/testListing/bar/Util_testsKt:testFortyTwo
|
||||
@@ -0,0 +1,21 @@
|
||||
package infrastructure.testListing.foo
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Test
|
||||
fun topLevel() = Unit
|
||||
|
||||
class Outer {
|
||||
@Test
|
||||
fun outer() = Unit
|
||||
|
||||
class Nested {
|
||||
@Test
|
||||
fun nested() = Unit
|
||||
}
|
||||
}
|
||||
|
||||
object O {
|
||||
@Test
|
||||
fun testObject() = Unit
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package infrastructure.testListing.foo
|
||||
|
||||
fun fortyTwo() = 42
|
||||
Reference in New Issue
Block a user