Use ObsoleteTestInfrastructure instead of Deprecated in black box tests

This commit is contained in:
Alexander Udalov
2021-01-13 19:34:04 +01:00
parent 221f44da5f
commit 0d8f909bda
12 changed files with 25 additions and 5 deletions
@@ -14,6 +14,7 @@ import org.jetbrains.kotlin.test.TargetBackend
internal val NOARG_ANNOTATIONS = listOf("NoArg", "NoArg2", "test.NoArg")
@OptIn(ObsoleteTestInfrastructure::class)
abstract class AbstractBlackBoxCodegenTestForNoArg : AbstractBlackBoxCodegenTest() {
override fun loadMultiFiles(files: MutableList<TestFile>) {
NoArgComponentRegistrar.registerNoArgComponents(