From 623f31a1781edae255914b80e125a6115c6c070d Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Wed, 21 Nov 2018 11:11:46 +0100 Subject: [PATCH] Remove redundant tests --- .../codegen/boxInline/smap/kt23369_E.kt | 39 ------------------- .../codegen/boxInline/smap/kt23369_F.kt | 39 ------------------- .../codegen/boxInline/smap/kt23369_L.kt | 39 ------------------- .../BlackBoxInlineCodegenTestGenerated.java | 15 ------- ...otlinAgainstInlineKotlinTestGenerated.java | 15 ------- .../IrBlackBoxInlineCodegenTestGenerated.java | 15 ------- 6 files changed, 162 deletions(-) delete mode 100644 compiler/testData/codegen/boxInline/smap/kt23369_E.kt delete mode 100644 compiler/testData/codegen/boxInline/smap/kt23369_F.kt delete mode 100644 compiler/testData/codegen/boxInline/smap/kt23369_L.kt diff --git a/compiler/testData/codegen/boxInline/smap/kt23369_E.kt b/compiler/testData/codegen/boxInline/smap/kt23369_E.kt deleted file mode 100644 index e3fcda6549c..00000000000 --- a/compiler/testData/codegen/boxInline/smap/kt23369_E.kt +++ /dev/null @@ -1,39 +0,0 @@ -// FILE: 1*E.kt - -package test - -inline fun inlineFun(lambda: () -> String): String { - return lambda() -} - -// FILE: 2.kt -import test.* - -fun box(): String { - return inlineFun { "OK" } -} - -// FILE: 1+a.smap - -// FILE: 2.smap - -SMAP -2.kt -Kotlin -*S Kotlin -*F -+ 1 2.kt -_2Kt -+ 2 1*E.kt -test/_1_EKt -*L -1#1,8:1 -6#2:9 -*E -*S KotlinDebug -*F -+ 1 2.kt -_2Kt -*L -5#1:9 -*E \ No newline at end of file diff --git a/compiler/testData/codegen/boxInline/smap/kt23369_F.kt b/compiler/testData/codegen/boxInline/smap/kt23369_F.kt deleted file mode 100644 index cc3c59237a8..00000000000 --- a/compiler/testData/codegen/boxInline/smap/kt23369_F.kt +++ /dev/null @@ -1,39 +0,0 @@ -// FILE: 1*F.kt - -package test - -inline fun inlineFun(lambda: () -> String): String { - return lambda() -} - -// FILE: 2.kt -import test.* - -fun box(): String { - return inlineFun { "OK" } -} - -// FILE: 1+a.smap - -// FILE: 2.smap - -SMAP -2.kt -Kotlin -*S Kotlin -*F -+ 1 2.kt -_2Kt -+ 2 1*F.kt -test/_1_FKt -*L -1#1,8:1 -6#2:9 -*E -*S KotlinDebug -*F -+ 1 2.kt -_2Kt -*L -5#1:9 -*E \ No newline at end of file diff --git a/compiler/testData/codegen/boxInline/smap/kt23369_L.kt b/compiler/testData/codegen/boxInline/smap/kt23369_L.kt deleted file mode 100644 index 64de8dfb826..00000000000 --- a/compiler/testData/codegen/boxInline/smap/kt23369_L.kt +++ /dev/null @@ -1,39 +0,0 @@ -// FILE: 1*L.kt - -package test - -inline fun inlineFun(lambda: () -> String): String { - return lambda() -} - -// FILE: 2.kt -import test.* - -fun box(): String { - return inlineFun { "OK" } -} - -// FILE: 1+a.smap - -// FILE: 2.smap - -SMAP -2.kt -Kotlin -*S Kotlin -*F -+ 1 2.kt -_2Kt -+ 2 1*L.kt -test/_1_LKt -*L -1#1,8:1 -6#2:9 -*E -*S KotlinDebug -*F -+ 1 2.kt -_2Kt -*L -5#1:9 -*E \ No newline at end of file diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java index e1ef5379ff8..329cb7cc9cb 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java @@ -2866,21 +2866,6 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/smap/kt23369_3.kt"); } - @TestMetadata("kt23369_E.kt") - public void testKt23369_E() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_E.kt"); - } - - @TestMetadata("kt23369_F.kt") - public void testKt23369_F() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_F.kt"); - } - - @TestMetadata("kt23369_L.kt") - public void testKt23369_L() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_L.kt"); - } - @TestMetadata("oneFile.kt") public void testOneFile() throws Exception { runTest("compiler/testData/codegen/boxInline/smap/oneFile.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java index 2fbe4fbf16b..12e5d2b3b63 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java @@ -2866,21 +2866,6 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/smap/kt23369_3.kt"); } - @TestMetadata("kt23369_E.kt") - public void testKt23369_E() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_E.kt"); - } - - @TestMetadata("kt23369_F.kt") - public void testKt23369_F() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_F.kt"); - } - - @TestMetadata("kt23369_L.kt") - public void testKt23369_L() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_L.kt"); - } - @TestMetadata("oneFile.kt") public void testOneFile() throws Exception { runTest("compiler/testData/codegen/boxInline/smap/oneFile.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java index 8aace116560..3ce8bc30610 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java @@ -2866,21 +2866,6 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/smap/kt23369_3.kt"); } - @TestMetadata("kt23369_E.kt") - public void testKt23369_E() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_E.kt"); - } - - @TestMetadata("kt23369_F.kt") - public void testKt23369_F() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_F.kt"); - } - - @TestMetadata("kt23369_L.kt") - public void testKt23369_L() throws Exception { - runTest("compiler/testData/codegen/boxInline/smap/kt23369_L.kt"); - } - @TestMetadata("oneFile.kt") public void testOneFile() throws Exception { runTest("compiler/testData/codegen/boxInline/smap/oneFile.kt");