[Tests] FIR support in JUnit 3 tests, port necessary subclasses
^KT-64404 Fixed ^KT-64438 Fixed ^KT-64407 Fixed
This commit is contained in:
committed by
Space Team
parent
e69d6d2d05
commit
9a2e4c6b41
+3
-2
@@ -26,7 +26,8 @@ abstract class AbstractCompileKotlinAgainstKlibTest : AbstractBlackBoxCodegenTes
|
||||
lateinit var outputDir: File
|
||||
lateinit var klibPath: String
|
||||
|
||||
override val backend = TargetBackend.JVM_IR
|
||||
override val backend
|
||||
get() = TargetBackend.JVM_IR
|
||||
|
||||
override fun doMultiFileTest(wholeFile: File, files: List<TestFile>) {
|
||||
outputDir = javaSourcesOutputDirectory
|
||||
@@ -36,7 +37,7 @@ abstract class AbstractCompileKotlinAgainstKlibTest : AbstractBlackBoxCodegenTes
|
||||
val classpath: MutableList<File> = ArrayList()
|
||||
classpath.add(KtTestUtil.getAnnotationsJar())
|
||||
val configuration = createConfiguration(
|
||||
configurationKind, getTestJdkKind(files), backend, classpath, listOf(outputDir), files
|
||||
configurationKind, getTestJdkKind(files), classpath, listOf(outputDir), files
|
||||
)
|
||||
myEnvironment = createForTests(
|
||||
testRootDisposable, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES
|
||||
|
||||
Reference in New Issue
Block a user