Remove KotlinSignature from tests, spec, delete tests with errors
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
$TESTDATA_DIR$/wrongKotlinSignature.kt
|
||||
$TESTDATA_DIR$/wrongKotlinSignatureLib
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
import library.ClassWithWrongKotlinSignatures
|
||||
|
||||
val x = ClassWithWrongKotlinSignatures.foo()
|
||||
val y = ClassWithWrongKotlinSignatures.bar()
|
||||
@@ -1,7 +0,0 @@
|
||||
error: the following Java entities have annotations with wrong Kotlin signatures:
|
||||
library.ClassWithWrongKotlinSignatures java.lang.String foo():
|
||||
Function names mismatch, original: foo, alternative: bar
|
||||
library.ClassWithWrongKotlinSignatures java.lang.String bar():
|
||||
Function names mismatch, original: bar, alternative: foo
|
||||
|
||||
COMPILATION_ERROR
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
package library
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
|
||||
public class ClassWithWrongKotlinSignatures {
|
||||
@KotlinSignature("fun bar() : String")
|
||||
public static String foo() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@KotlinSignature("fun foo() : String")
|
||||
public static String bar() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user