[PL][tests] Keep PL test data under "testData/klib/" dir
This commit is contained in:
committed by
Space Team
parent
9e3afe7a1f
commit
5c3e63e19a
@@ -0,0 +1,34 @@
|
||||
@file:Suppress("unused", "UNUSED_PARAMETER", "NOTHING_TO_INLINE")
|
||||
|
||||
open class OpenClass {
|
||||
@Suppress("MemberVisibilityCanBePrivate")
|
||||
var lastRecordedState: String = ""
|
||||
|
||||
open var openNonInlineToInlineProperty: String
|
||||
get() = "OpenClass.openNonInlineToInlineProperty"
|
||||
set(value) { lastRecordedState = "OpenClass.openNonInlineToInlineProperty=$value" }
|
||||
|
||||
open var openNonInlineToInlinePropertyWithDelegation: String
|
||||
get() = "OpenClass.openNonInlineToInlinePropertyWithDelegation"
|
||||
set(value) { lastRecordedState = "OpenClass.openNonInlineToInlinePropertyWithDelegation=$value" }
|
||||
|
||||
//inline var newInlineProperty1: String
|
||||
// get() = "OpenClass.newInlineProperty1"
|
||||
// set(value) { lastRecordedState = "OpenClass.newInlineProperty1=$value" }
|
||||
|
||||
//inline var newInlineProperty2: String
|
||||
// get() = "OpenClass.newInlineProperty2"
|
||||
// set(value) { lastRecordedState = "OpenClass.newInlineProperty2=$value" }
|
||||
|
||||
//var newNonInlineProperty: String
|
||||
// get() = "OpenClass.newNonInlineProperty"
|
||||
// set(value) { lastRecordedState = "OpenClass.newNonInlineProperty=$value" }
|
||||
|
||||
fun newInlineProperty1Reader(): String = TODO("Not implemented: OpenClass.newInlineProperty1Reader()")
|
||||
fun newInlineProperty2Reader(): String = TODO("Not implemented: OpenClass.newInlineProperty2Reader()")
|
||||
fun newNonInlinePropertyReader(): String = TODO("Not implemented: OpenClass.newNonInlinePropertyReader()")
|
||||
|
||||
fun newInlineProperty1Writer(value: String): Unit = TODO("Not implemented: OpenClass.newInlineProperty1Writer()")
|
||||
fun newInlineProperty2Writer(value: String): Unit = TODO("Not implemented: OpenClass.newInlineProperty2Writer()")
|
||||
fun newNonInlinePropertyWriter(value: String): Unit = TODO("Not implemented: OpenClass.newNonInlinePropertyWriter()")
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
@file:Suppress("unused", "UNUSED_PARAMETER", "NOTHING_TO_INLINE")
|
||||
|
||||
open class OpenClass {
|
||||
@Suppress("MemberVisibilityCanBePrivate")
|
||||
var lastRecordedState: String = ""
|
||||
|
||||
inline var openNonInlineToInlineProperty: String
|
||||
get() = "OpenClassV2.openNonInlineToInlineProperty"
|
||||
set(value) { lastRecordedState = "OpenClassV2.openNonInlineToInlineProperty=$value" }
|
||||
|
||||
inline var openNonInlineToInlinePropertyWithDelegation: String
|
||||
get() = "OpenClassV2.openNonInlineToInlinePropertyWithDelegation"
|
||||
set(value) { lastRecordedState = "OpenClassV2.openNonInlineToInlinePropertyWithDelegation=$value" }
|
||||
|
||||
inline var newInlineProperty1: String
|
||||
get() = "OpenClassV2.newInlineProperty1"
|
||||
set(value) { lastRecordedState = "OpenClassV2.newInlineProperty1=$value" }
|
||||
|
||||
inline var newInlineProperty2: String
|
||||
get() = "OpenClassV2.newInlineProperty2"
|
||||
set(value) { lastRecordedState = "OpenClassV2.newInlineProperty2=$value" }
|
||||
|
||||
var newNonInlineProperty: String
|
||||
get() = "OpenClassV2.newNonInlineProperty"
|
||||
set(value) { lastRecordedState = "OpenClassV2.newNonInlineProperty=$value" }
|
||||
|
||||
fun newInlineProperty1Reader(): String = newInlineProperty1
|
||||
fun newInlineProperty2Reader(): String = newInlineProperty2
|
||||
fun newNonInlinePropertyReader(): String = newNonInlineProperty
|
||||
|
||||
fun newInlineProperty1Writer(value: String) { newInlineProperty1 = value }
|
||||
fun newInlineProperty2Writer(value: String) { newInlineProperty2 = value }
|
||||
fun newNonInlinePropertyWriter(value: String) { newNonInlineProperty = value }
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib
|
||||
STEP 1:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.1 -> l1.kt
|
||||
Reference in New Issue
Block a user