From 9c5d032fb1f1615c83fa1b6e788bb17da01b09b2 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Tue, 18 Sep 2012 21:35:58 +0400 Subject: [PATCH] Obsolete test case removed --- .../loadJava/kotlinSignature/MethodWithTupleType.java | 11 ----------- .../loadJava/kotlinSignature/MethodWithTupleType.kt | 9 --------- .../loadJava/kotlinSignature/MethodWithTupleType.txt | 6 ------ .../jet/jvm/compiler/LoadJavaTestGenerated.java | 5 ----- 4 files changed, 31 deletions(-) delete mode 100644 compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.java delete mode 100644 compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.kt delete mode 100644 compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.txt diff --git a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.java b/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.java deleted file mode 100644 index 1c808bf3eaa..00000000000 --- a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.java +++ /dev/null @@ -1,11 +0,0 @@ -package test; - -import java.util.*; -import jet.runtime.typeinfo.KotlinSignature; -import jet.*; - -public class MethodWithTupleType { - @KotlinSignature("fun foo(pair : #(String, String?))") - public void foo(Tuple2 pair) { - } -} diff --git a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.kt b/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.kt deleted file mode 100644 index eb61d5ac59f..00000000000 --- a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.kt +++ /dev/null @@ -1,9 +0,0 @@ -package test - -import java.util.* - -public open class MethodWithTupleType : Object() { - public open fun foo(p0 : Tuple2) { // writing Tuple2<..> instead of #(..), because the latter - // adds unnecessary "out" keywords - } -} diff --git a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.txt b/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.txt deleted file mode 100644 index 1e7024552a3..00000000000 --- a/compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.txt +++ /dev/null @@ -1,6 +0,0 @@ -namespace test - -public open class test.MethodWithTupleType : java.lang.Object { - public final /*constructor*/ fun (): test.MethodWithTupleType - public open fun foo(/*0*/ p0: jet.Tuple2): jet.Tuple0 -} diff --git a/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadJavaTestGenerated.java b/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadJavaTestGenerated.java index bcfff22f01a..aea4a176c9d 100644 --- a/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadJavaTestGenerated.java +++ b/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadJavaTestGenerated.java @@ -255,11 +255,6 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest { doTest("compiler/testData/loadJava/kotlinSignature/MethodWithMappedClasses.java"); } - @TestMetadata("MethodWithTupleType.java") - public void testMethodWithTupleType() throws Exception { - doTest("compiler/testData/loadJava/kotlinSignature/MethodWithTupleType.java"); - } - @TestMetadata("MethodWithTypeParameters.java") public void testMethodWithTypeParameters() throws Exception { doTest("compiler/testData/loadJava/kotlinSignature/MethodWithTypeParameters.java");