82b19499e3
Use generated tests approach in converter tests Introduce two seperate generated test cases of each of configurations, all tests are generated in both test cases Test data for plugin configuration has extension "ide.kt", for basic configuration "*.kt" Test data file is used to determine type of the test (file/class/expression/...) instead of directory, all test data is moved accordingly Add abstract base classes for generated tests Rename test folder "file" to "misc" (for the lack of imagination)
19 lines
327 B
Kotlin
19 lines
327 B
Kotlin
package demo
|
|
open class Container() {
|
|
var myInt : Int = 1
|
|
}
|
|
open class One() {
|
|
class object {
|
|
var myContainer : Container = Container()
|
|
}
|
|
}
|
|
open class IntContainer(i : Int) {
|
|
}
|
|
open class Test() {
|
|
open fun putInt(i : Int) : Unit {
|
|
}
|
|
open fun test() : Unit {
|
|
putInt(One.myContainer.myInt)
|
|
IntContainer(One.myContainer.myInt)
|
|
}
|
|
} |