Move common logic from CodegenTestCase to KotlinBaseTest
This commit is contained in:
+1
-1
@@ -8,5 +8,5 @@ package org.jetbrains.kotlin.android.parcel
|
||||
import org.jetbrains.kotlin.test.TargetBackend
|
||||
|
||||
abstract class AbstractParcelIrBoxTest : AbstractParcelBoxTest() {
|
||||
override fun getBackend() = TargetBackend.JVM_IR
|
||||
override val backend = TargetBackend.JVM_IR
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import org.jetbrains.kotlin.test.TargetBackend
|
||||
import java.io.File
|
||||
|
||||
abstract class AbstractParcelIrBytecodeListingTest : AbstractParcelBytecodeListingTest() {
|
||||
override fun getBackend() = TargetBackend.JVM_IR
|
||||
override val backend = TargetBackend.JVM_IR
|
||||
|
||||
override fun getExpectedTextFileName(wholeFile: File): String {
|
||||
return wholeFile.nameWithoutExtension + ".ir.txt"
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ package org.jetbrains.kotlin.android.synthetic.test
|
||||
import org.jetbrains.kotlin.test.TargetBackend
|
||||
|
||||
abstract class AbstractAndroidIrBoxTest : AbstractAndroidBoxTest() {
|
||||
override fun getBackend() = TargetBackend.JVM_IR
|
||||
override val backend = TargetBackend.JVM_IR
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user