Add tests for obsolete issues
#KT-12126 #KT-12189 #KT-23628 #KT-24209 #KT-34338 #KT-47279 #KT-48498
This commit is contained in:
+24
@@ -15419,6 +15419,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -28755,6 +28761,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12189_noClashOnDifferentCase.kt")
|
||||
public void testKt12189_noClashOnDifferentCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/kt12189_noClashOnDifferentCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47328.kt")
|
||||
public void testKt47328() throws Exception {
|
||||
@@ -32271,6 +32283,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/innerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superParams.kt")
|
||||
public void testSuperParams() throws Exception {
|
||||
@@ -43037,6 +43055,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/regressions/kt44993.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -4942,6 +4942,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableArray.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnNullableString.kt")
|
||||
public void testDontGenerateOnNullableString() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnVarargsString.kt")
|
||||
public void testDontGenerateOnVarargsString() throws Exception {
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
interface Interface
|
||||
|
||||
operator fun Interface.invoke(): String = "OK"
|
||||
|
||||
class Class : Interface
|
||||
|
||||
object Holder {
|
||||
val value = Class()
|
||||
}
|
||||
|
||||
fun box(): String =
|
||||
Holder?.value()!!
|
||||
@@ -0,0 +1,13 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_STDLIB
|
||||
|
||||
abstract class Base {
|
||||
@JvmField val name: String = "O"
|
||||
@JvmField val Name: String = "K"
|
||||
}
|
||||
|
||||
class Derived : Base()
|
||||
|
||||
fun box(): String =
|
||||
Derived().name + Derived().Name
|
||||
@@ -0,0 +1,22 @@
|
||||
// SKIP_JDK6
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_STDLIB
|
||||
// FULL_JDK
|
||||
// PARAMETERS_METADATA
|
||||
// KT-23628
|
||||
|
||||
class A @JvmOverloads constructor(x: String, y: Int = 42) {
|
||||
@JvmOverloads
|
||||
fun f(a: Long, b: Char = 'b') {}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val ctor = A::class.java.getDeclaredConstructor(String::class.java).parameters.toList()
|
||||
if (ctor.toString() != "[java.lang.String x]") return "Fail constructor: $ctor"
|
||||
|
||||
val method = A::class.java.getDeclaredMethod("f", Long::class.java).parameters.toList()
|
||||
if (method.toString() != "[long a]") return "Fail method: $method"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fun test() {
|
||||
null?.run { return }
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
test()
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package x
|
||||
|
||||
operator fun String.provideDelegate(thisRef: Any?, prop: Any?) = this
|
||||
|
||||
operator fun String.getValue(thisRef: Any?, prop: Any?) = this
|
||||
|
||||
inline fun foo(): String {
|
||||
val x by "OK"
|
||||
return x
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import x.*
|
||||
|
||||
fun box(): String = foo()
|
||||
@@ -0,0 +1,25 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_IR_AGAINST_OLD
|
||||
// FILE: a.kt
|
||||
|
||||
package test
|
||||
|
||||
open class A {
|
||||
val v = "OK"
|
||||
|
||||
open inner class AA {
|
||||
protected inline fun inAA(crossinline modifier: (String) -> String): String = modifier(v)
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
|
||||
import test.*
|
||||
|
||||
class B : A() {
|
||||
inner class BB : AA() {
|
||||
fun test(): String = inAA { i -> i }
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String = B().BB().test()
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// KT-34338
|
||||
|
||||
fun main() {
|
||||
|
||||
}
|
||||
|
||||
fun main(args: Array<String?>) {
|
||||
|
||||
}
|
||||
|
||||
// 0 INVOKESTATIC DontGenerateOnNullableArrayKt\.main ()V
|
||||
+24
@@ -15305,6 +15305,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -26001,6 +26007,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12189_noClashOnDifferentCase.kt")
|
||||
public void testKt12189_noClashOnDifferentCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/kt12189_noClashOnDifferentCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47328.kt")
|
||||
public void testKt47328() throws Exception {
|
||||
@@ -29517,6 +29529,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/innerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superParams.kt")
|
||||
public void testSuperParams() throws Exception {
|
||||
@@ -40253,6 +40271,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt44993.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -4792,6 +4792,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableArray.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnNullableString.kt")
|
||||
public void testDontGenerateOnNullableString() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnVarargsString.kt")
|
||||
public void testDontGenerateOnVarargsString() throws Exception {
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+24
@@ -15419,6 +15419,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -28755,6 +28761,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12189_noClashOnDifferentCase.kt")
|
||||
public void testKt12189_noClashOnDifferentCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/kt12189_noClashOnDifferentCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47328.kt")
|
||||
public void testKt47328() throws Exception {
|
||||
@@ -32271,6 +32283,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/innerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superParams.kt")
|
||||
public void testSuperParams() throws Exception {
|
||||
@@ -43037,6 +43055,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/regressions/kt44993.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -4942,6 +4942,12 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableArray.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnNullableString.kt")
|
||||
public void testDontGenerateOnNullableString() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontGenerateOnVarargsString.kt")
|
||||
public void testDontGenerateOnVarargsString() throws Exception {
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -2172,6 +2172,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2643,6 +2649,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
public void testKt10259() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt10259.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+20
@@ -12552,6 +12552,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Elvis extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void ignoreKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -21961,6 +21966,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class JvmField extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt12189_noClashOnDifferentCase.kt")
|
||||
public void ignoreKt12189_noClashOnDifferentCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/kt12189_noClashOnDifferentCase.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -25141,6 +25151,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ParametersMetadata extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void ignoreJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -32367,6 +32382,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/regressions/kt44993.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt5056.kt");
|
||||
|
||||
+12
@@ -11857,6 +11857,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -29443,6 +29449,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt4281.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
|
||||
+12
@@ -1944,6 +1944,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2349,6 +2355,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
public void testInnerInlineFunCapturesOuterWithInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/innerInlineFunCapturesOuterWithInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -11899,6 +11899,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -29545,6 +29551,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt4281.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
|
||||
+12
@@ -1944,6 +1944,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -2349,6 +2355,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
public void testInnerInlineFunCapturesOuterWithInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/innerInlineFunCapturesOuterWithInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+10
@@ -9852,6 +9852,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt6694ExactAnnotationForElvis.kt");
|
||||
@@ -24561,6 +24566,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/regressions/kt4281.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt5056.kt");
|
||||
|
||||
Generated
+24
@@ -12835,6 +12835,12 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
|
||||
runTest("compiler/testData/codegen/box/elvis/genericNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24209.kt")
|
||||
public void testKt24209() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/elvis/kt24209.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt6694ExactAnnotationForElvis.kt")
|
||||
public void testKt6694ExactAnnotationForElvis() throws Exception {
|
||||
@@ -31774,6 +31780,12 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt4281.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47279.kt")
|
||||
public void testKt47279() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/regressions/kt47279.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt5056.kt")
|
||||
public void testKt5056() throws Exception {
|
||||
@@ -37432,6 +37444,12 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt16864.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48498.kt")
|
||||
public void testKt48498() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/delegatedProperty/kt48498.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("local.kt")
|
||||
public void testLocal() throws Exception {
|
||||
@@ -37857,6 +37875,12 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
|
||||
public void testInnerInlineFunCapturesOuterWithInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/innerInlineFunCapturesOuterWithInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt12126.kt")
|
||||
public void testKt12126() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/innerClasses/kt12126.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user