Migrate bytecodeListing tests to new test infrastructure

This commit is contained in:
Alexander Udalov
2021-04-22 18:46:09 +02:00
parent 7e170770ea
commit 0c3f2eefe0
34 changed files with 955 additions and 487 deletions
@@ -16,11 +16,13 @@
package org.jetbrains.kotlin.allopen
import org.jetbrains.kotlin.ObsoleteTestInfrastructure
import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.jetbrains.kotlin.codegen.AbstractBytecodeListingTest
import org.jetbrains.kotlin.extensions.DeclarationAttributeAltererExtension
import org.jetbrains.kotlin.test.TargetBackend
@OptIn(ObsoleteTestInfrastructure::class)
abstract class AbstractBytecodeListingTestForAllOpen : AbstractBytecodeListingTest() {
override fun setupEnvironment(environment: KotlinCoreEnvironment) {
val annotations = AbstractAllOpenDeclarationAttributeAltererExtension.ANNOTATIONS_FOR_TESTS +