[test] Give IrText test classes more descriptive names

The names now reflect the frontend and the backend used to run the tests
This commit is contained in:
Sergej Jaskiewicz
2023-03-09 18:39:25 +01:00
committed by Space Team
parent b01cc1f88c
commit c1ea3e7b53
16 changed files with 73 additions and 72 deletions
@@ -8,7 +8,7 @@ package org.jetbrains.kotlin.ir
import org.jetbrains.kotlin.ir.declarations.IrModuleFragment
import org.jetbrains.kotlin.psi2ir.Psi2IrTranslator
abstract class AbstractIrJsTextTestCase : AbstractIrTextTestCase() {
abstract class AbstractClassicJsIrTextTestCase : AbstractIrTextTestCase() {
override fun doGenerateIrModule(psi2IrTranslator: Psi2IrTranslator): IrModuleFragment =
generateIrModuleWithJsResolve(myFiles.psiFiles, myEnvironment, psi2IrTranslator)
}
@@ -62,7 +62,7 @@ import java.util.*
/**
* Compares compiled and deserialized IR
*/
abstract class AbstractKlibTextTestCase : CodegenTestCase() {
abstract class AbstractKlibIrTextTestCase : CodegenTestCase() {
companion object {
val SKIP_KLIB_TEST = Regex("""// SKIP_KLIB_TEST""")
@@ -297,4 +297,4 @@ abstract class AbstractKlibTextTestCase : CodegenTestCase() {
}
}
abstract class AbstractKlibJsTextTestCase : AbstractKlibTextTestCase()
abstract class AbstractKlibJsIrTextTestCase : AbstractKlibIrTextTestCase()