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
@@ -19,7 +19,7 @@ abstract class AbstractSerializationIrBytecodeListingTest : AbstractAsmLikeInstr
return wholeFile.nameWithoutExtension + ".ir.txt"
}
override fun getBackend(): TargetBackend = TargetBackend.JVM_IR
override val backend = TargetBackend.JVM_IR
override fun setupEnvironment(environment: KotlinCoreEnvironment) {
SerializationComponentRegistrar.registerExtensions(environment.project)