Move common logic from CodegenTestCase to KotlinBaseTest

This commit is contained in:
Mikhail Bogdanov
2020-06-10 14:30:47 +02:00
parent 9d48ecfac3
commit 929bb0e8d1
32 changed files with 247 additions and 240 deletions
@@ -8,5 +8,5 @@ package org.jetbrains.kotlin.kapt3.test
import org.jetbrains.kotlin.test.TargetBackend
abstract class AbstractIrKotlinKapt3IntegrationTest : AbstractKotlinKapt3IntegrationTest() {
override fun getBackend() = TargetBackend.JVM_IR
override val backend = TargetBackend.JVM_IR
}
@@ -12,9 +12,9 @@ Currently Kapt3 only works with the old backend. To enable IR, modify the isIrBa
*/
abstract class AbstractIrClassFileToSourceStubConverterTest : AbstractClassFileToSourceStubConverterTest() {
override fun getBackend() = TargetBackend.JVM_IR
override val backend = TargetBackend.JVM_IR
}
abstract class AbstractIrKotlinKaptContextTest : AbstractKotlinKaptContextTest() {
override fun getBackend() = TargetBackend.JVM_IR
override val backend = TargetBackend.JVM_IR
}