Uast: KotlinIDERenderLogTest for running UAST tests with ULC
In case of result difference the `-ide`-suffixed testdata is used. Actually the difference in results is more likely to be a bug but currently we are fixating at least some behaviour to protect from unexpected regressions in Ultra Light Classes. `object Local` were removed because there is no local objects in actual Kotlin syntax
This commit is contained in:
@@ -6,7 +6,7 @@ import java.io.File
|
||||
abstract class AbstractKotlinValuesTest : AbstractKotlinUastTest(), ValuesTestBase {
|
||||
|
||||
private fun getTestFile(testName: String, ext: String) =
|
||||
File(File(AbstractKotlinUastTest.TEST_KOTLIN_MODEL_DIR, testName).canonicalPath + '.' + ext)
|
||||
File(File(TEST_KOTLIN_MODEL_DIR, testName).canonicalPath + '.' + ext)
|
||||
|
||||
override fun getValuesFile(testName: String) = getTestFile(testName, "values.txt")
|
||||
}
|
||||
Reference in New Issue
Block a user