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)
13 lines
265 B
Kotlin
13 lines
265 B
Kotlin
package demo
|
|
open class Test() {
|
|
open fun test() : String? {
|
|
var s1 : String? = ""
|
|
var s2 : String? = ""
|
|
var s3 : String? = ""
|
|
if (s1?.isEmpty()!! && s2?.isEmpty()!!)
|
|
return "OK"
|
|
if (s1?.isEmpty()!! && s2?.isEmpty()!! && s3?.isEmpty()!!)
|
|
return "OOOK"
|
|
return ""
|
|
}
|
|
} |