[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,23 @@
fun function(): String = "FAIL: function"
fun removedFunction(): String = "FAIL: removedFunction"
val property: String get() = "FAIL: property"
val removedProperty: String get() = "FAIL: removedProperty"
class A {
fun function(): String = "FAIL: A.function"
fun removedFunction(): String = "FAIL: A.removedFunction"
val property1: String get() = "FAIL: property1"
val removedProperty1: String get() = "FAIL: removedProperty1"
val property2: String = "FAIL: property2"
val removedProperty2: String = "FAIL: removedProperty2"
}
open class C {
open fun removedOpenFunction(): String = "FAIL: C.removedOpenFunction"
open val removedOpenProperty: String get() = "FAIL: C.removedOpenProperty"
}
interface I {
fun removedOpenFunction(): String = "FAIL: I.removedOpenFunction"
val removedOpenProperty: String get() = "FAIL: I.removedOpenProperty"
}
@@ -0,0 +1,23 @@
fun function(): String = "OK"
//fun removedFunction(): String = "FAIL: removedFunction"
val property: String get() = "OK"
//val removedProperty: String get() = "FAIL: removedProperty"
class A {
fun function(): String = "OK"
//fun removedFunction(): String = "FAIL: A.removedFunction"
val property1: String get() = "OK"
//val removedProperty1: String get() = "FAIL: removedProperty1"
val property2: String = "OK"
//val removedProperty2: String = "FAIL: removedProperty2"
}
open class C {
//open fun removedOpenFunction(): String = "FAIL: C.removedOpenFunction"
//open val removedOpenProperty: String get() = "FAIL: C.removedOpenProperty"
}
interface I {
//fun removedOpenFunction(): String = "FAIL: I.removedOpenFunction"
//val removedOpenProperty: String get() = "FAIL: I.removedOpenProperty"
}
@@ -0,0 +1,6 @@
STEP 0:
dependencies: stdlib
STEP 1:
dependencies: stdlib
modifications:
U : l1.kt.1 -> l1.kt