[PL][tests] Keep PL test data under "testData/klib/" dir

This commit is contained in:
Dmitriy Dolovov
2023-08-15 14:38:02 +02:00
committed by Space Team
parent 9e3afe7a1f
commit 5c3e63e19a
186 changed files with 156 additions and 156 deletions
@@ -0,0 +1,26 @@
package lib1
abstract class AbstractClassWithFunctions {
fun foo(): Int = 42
open fun bar(): Int = 42
open fun baz(): Int = 42
}
interface InterfaceWithFunctions {
fun foo(): Int = 42
fun bar(): Int = 42
}
abstract class AbstractClassWithProperties {
val foo1: Int = 42
val foo2: Int get() = 42
open val bar1: Int = 42
open val bar2: Int get() = 42
open val baz1: Int = 42
open val baz2: Int get() = 42
}
interface InterfaceWithProperties {
val foo: Int get() = 42
val bar: Int get() = 42
}
@@ -0,0 +1,26 @@
package lib1
abstract class AbstractClassWithFunctions {
abstract fun foo(): Int
abstract fun bar(): Int
abstract fun baz(): Int
}
interface InterfaceWithFunctions {
fun foo(): Int
fun bar(): Int
}
abstract class AbstractClassWithProperties {
abstract val foo1: Int
abstract val foo2: Int
abstract val bar1: Int
abstract val bar2: Int
abstract val baz1: Int
abstract val baz2: Int
}
interface InterfaceWithProperties {
val foo: Int
val bar: Int
}
@@ -0,0 +1,12 @@
STEP 0:
dependencies: stdlib
modifications:
U : l1.kt.0 -> l1.kt
STEP 1:
dependencies: stdlib
modifications:
U : l1.kt.1 -> l1.kt
STEP 2:
dependencies: stdlib
modifications:
U : l1.kt.0 -> l1.kt