From 4f3fde2334ce5d56ee5b4b537649fcff97ea09f8 Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Fri, 20 Apr 2018 13:04:06 +0300 Subject: [PATCH] Regenerate tests --- .../kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java | 3 +-- .../jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java | 3 +-- .../checkers/javac/DiagnosticsUsingJavacTestGenerated.java | 3 +-- .../jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java | 3 +-- .../kotlin/codegen/LightAnalysisModeTestGenerated.java | 3 +-- .../kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java index e71aa32900c..f1c48efdf14 100644 --- a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java @@ -3276,8 +3276,7 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes @TestMetadata("anonymousObjectAsLastExpressionInLambda.kt") public void testAnonymousObjectAsLastExpressionInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); - doTest(fileName); + runTest("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); } @TestMetadata("captureExtensionReceiver.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java index f8f4ad1f58e..3154655831a 100644 --- a/compiler/tests/org/jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/checkers/DiagnosticsTestGenerated.java @@ -20991,8 +20991,7 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest { @TestMetadata("implicitInvokeOnSuper.kt") public void testImplicitInvokeOnSuper() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt"); - doTest(fileName); + runTest("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt"); } @TestMetadata("notAccessibleSuperInTrait.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsUsingJavacTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsUsingJavacTestGenerated.java index 554acde89a9..91c0e03a785 100644 --- a/compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsUsingJavacTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/checkers/javac/DiagnosticsUsingJavacTestGenerated.java @@ -20991,8 +20991,7 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing @TestMetadata("implicitInvokeOnSuper.kt") public void testImplicitInvokeOnSuper() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt"); - doTest(fileName); + runTest("compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.kt"); } @TestMetadata("notAccessibleSuperInTrait.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java index 2f358789505..75f3ec378eb 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java @@ -3276,8 +3276,7 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { @TestMetadata("anonymousObjectAsLastExpressionInLambda.kt") public void testAnonymousObjectAsLastExpressionInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); - doTest(fileName); + runTest("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); } @TestMetadata("captureExtensionReceiver.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 57b5e8f565e..4c6ab50731d 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -3276,8 +3276,7 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestMetadata("anonymousObjectAsLastExpressionInLambda.kt") public void testAnonymousObjectAsLastExpressionInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); - doTest(fileName); + runTest("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); } @TestMetadata("captureExtensionReceiver.kt") diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index f04e3ee698e..2694cedf142 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -3191,8 +3191,7 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { @TestMetadata("anonymousObjectAsLastExpressionInLambda.kt") public void testAnonymousObjectAsLastExpressionInLambda() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); - doTest(fileName); + runTest("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); } @TestMetadata("captureExtensionReceiver.kt")