Switch 'AbstractCompilerLightClassTest' to new scheme with configuration kind

This commit is contained in:
Mikhael Bogdanov
2020-02-27 14:36:48 +01:00
parent f84ac5e3f9
commit ae9a91e17d
11 changed files with 10 additions and 2 deletions
@@ -1,4 +1,5 @@
// C
// WITH_RUNTIME
class C {
@JvmName("myFun")
fun g(c: C) {
+1
View File
@@ -1,4 +1,5 @@
// A
// WITH_RUNTIME
class A {
companion object {
@@ -1,4 +1,5 @@
// a.b.c.ActualTypeAliasCustomJvmPackageNameKt
// WITH_RUNTIME
@file:JvmPackageName("a.b.c")
package p
@@ -1,5 +1,5 @@
// A
// WITH_RUNTIME
class A {
@Synchronized
@Strictfp
@@ -1,4 +1,5 @@
// a.b.c.JvmPackageNameKt
// WITH_RUNTIME
@file:JvmPackageName("a.b.c")
package p
@@ -1,4 +1,5 @@
// A
// WITH_RUNTIME
class A {
companion object {
@@ -1,4 +1,5 @@
//NewName
// WITH_RUNTIME
@file:JvmName("NewName")
fun foo() {
@@ -1,4 +1,5 @@
// C
// WITH_RUNTIME
class C {
@[kotlin.jvm.JvmOverloads] public fun foo(o: String = "O", o1: String, o3: String = "K", o4: String?): String {
@@ -1,4 +1,5 @@
// C
// WITH_RUNTIME
class C {
companion object {
@@ -1,4 +1,5 @@
// C
// WITH_RUNTIME
class C {
@[kotlin.jvm.JvmField] public val foo: String = { "A" }()
@@ -31,7 +31,6 @@ import org.junit.Assert
import java.io.File
abstract class AbstractCompilerLightClassTest : KotlinMultiFileTestWithJava<KotlinBaseTest.TestModule, KotlinBaseTest.TestFile>() {
override fun getConfigurationKind(): ConfigurationKind = ConfigurationKind.ALL
override fun isKotlinSourceRootNeeded(): Boolean = true