From 1d46070bd56b3cb879c6a42ac5e8b83bfd651c17 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Tue, 11 Jul 2017 12:38:13 +0300 Subject: [PATCH] Minor, remove unneeded codegen test This test is already present in compiler/testData/cli/jvm/ --- .../testData/codegen/box/fullJdk/classpath.kt | 18 ------------------ .../ir/IrBlackBoxCodegenTestGenerated.java | 6 ------ .../codegen/BlackBoxCodegenTestGenerated.java | 6 ------ .../LightAnalysisModeTestGenerated.java | 6 ------ 4 files changed, 36 deletions(-) delete mode 100644 compiler/testData/codegen/box/fullJdk/classpath.kt diff --git a/compiler/testData/codegen/box/fullJdk/classpath.kt b/compiler/testData/codegen/box/fullJdk/classpath.kt deleted file mode 100644 index 6277a2ffc6c..00000000000 --- a/compiler/testData/codegen/box/fullJdk/classpath.kt +++ /dev/null @@ -1,18 +0,0 @@ -// TARGET_BACKEND: JVM - -// FULL_JDK - -import sun.nio.cs.ext.Big5 -import sun.net.spi.nameservice.dns.DNSNameService -import javax.crypto.Cipher -import com.sun.crypto.provider.SunJCE -import sun.nio.ByteBuffered - -fun box(): String { - val a = Big5() // charsets.jar - val c = DNSNameService() // dnsns.ajr - val e : Cipher? = null // jce.jar - val f : SunJCE? = null // sunjce_provider.jar - val j : ByteBuffered? = null // rt.jar - return "OK" -} 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 af9f709ff1d..4f7fcabaf53 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 @@ -8330,12 +8330,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes doTest(fileName); } - @TestMetadata("classpath.kt") - public void testClasspath() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/classpath.kt"); - doTest(fileName); - } - @TestMetadata("ifInWhile.kt") public void testIfInWhile() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/ifInWhile.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java index 88a504e0d9d..0268074b66a 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java @@ -8330,12 +8330,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { doTest(fileName); } - @TestMetadata("classpath.kt") - public void testClasspath() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/classpath.kt"); - doTest(fileName); - } - @TestMetadata("ifInWhile.kt") public void testIfInWhile() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/ifInWhile.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 520d7899580..8a41b4537f6 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -8330,12 +8330,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes doTest(fileName); } - @TestMetadata("classpath.kt") - public void testClasspath() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/classpath.kt"); - doTest(fileName); - } - @TestMetadata("ifInWhile.kt") public void testIfInWhile() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/fullJdk/ifInWhile.kt");