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)
12 lines
211 B
Kotlin
12 lines
211 B
Kotlin
package demo
|
|
open class Container() {
|
|
var myInt : Int = 1
|
|
}
|
|
open class One() {
|
|
class object {
|
|
var myContainer : Container? = Container()
|
|
}
|
|
}
|
|
open class Test() {
|
|
var b : Byte = One.myContainer?.myInt!!.toByte()
|
|
} |