Skip test on JDK 6

This commit is contained in:
Mikhael Bogdanov
2018-10-18 13:26:08 +02:00
parent db25343f90
commit a4206a543a
57 changed files with 63 additions and 106 deletions
@@ -1,7 +1,7 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
annotation class Anno(val value: String)
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
@@ -1,5 +1,6 @@
// !API_VERSION: 1.3
// !JVM_DEFAULT_MODE: enable
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Base.java
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// LANGUAGE_VERSION: 1.0
// FILE: Base.java
@@ -1,6 +1,6 @@
// !LANGUAGE: +StrictJavaNullabilityAssertions
// TARGET_BACKEND: JVM
// SKIP_JDK6
// See KT-8135
// We could generate runtime assertion on call site for 'generic<NOT_NULL_TYPE>()' below.
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FILE: F.java
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// LANGUAGE_VERSION: 1.0
// WITH_RUNTIME
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// KT-5190 Java 8 Stream.collect couldn't be called
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Simple.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Test.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Test.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Test.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FILE: JavaCall.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer {
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer {
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer {
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer<S> {
inner class Inner<R>
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer {
inner class Inner<R>
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: JS_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_REFLECT
// IGNORE_BACKEND: JS, NATIVE
abstract class Outer {
inner class Inner
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_REFLECT
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
+1
View File
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FILE: Test.kt
open class KFoo {
@@ -1,3 +1,4 @@
// SKIP_JDK6
// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// FILE: Custom.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// FILE: Custom.java
@@ -1,3 +1,4 @@
// SKIP_JDK6
// IGNORE_BACKEND: JVM_IR
// FILE: JavaClass.java
@@ -121,11 +121,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@TestMetadata("parameterAnnotationInDefaultImpls.kt")
public void testParameterAnnotationInDefaultImpls() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt");
}
@TestMetadata("parameterWithPrimitiveType.kt")
public void testParameterWithPrimitiveType() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt");
@@ -16459,11 +16454,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
}
@TestMetadata("annotationsOnJavaMembers.kt")
public void testAnnotationsOnJavaMembers() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/annotationsOnJavaMembers.kt");
}
@TestMetadata("findAnnotation.kt")
public void testFindAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
@@ -17472,36 +17462,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testKt6106() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt");
}
@TestMetadata("signatureOfDeepGenericInner.kt")
public void testSignatureOfDeepGenericInner() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt");
}
@TestMetadata("signatureOfDeepInner.kt")
public void testSignatureOfDeepInner() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt");
}
@TestMetadata("signatureOfDeepInnerLastGeneric.kt")
public void testSignatureOfDeepInnerLastGeneric() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt");
}
@TestMetadata("signatureOfGenericInnerGenericOuter.kt")
public void testSignatureOfGenericInnerGenericOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt");
}
@TestMetadata("signatureOfGenericInnerSimpleOuter.kt")
public void testSignatureOfGenericInnerSimpleOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt");
}
@TestMetadata("signatureOfSimpleInnerSimpleOuter.kt")
public void testSignatureOfSimpleInnerSimpleOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/reflection/isInstance")
@@ -17827,11 +17787,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS_IR, true);
}
@TestMetadata("builtinFunctionsToString.kt")
public void testBuiltinFunctionsToString() throws Exception {
runTest("compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt");
}
@TestMetadata("callableReferencesEqualToCallablesFromAPI.kt")
public void testCallableReferencesEqualToCallablesFromAPI() throws Exception {
runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt");
@@ -121,11 +121,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt");
}
@TestMetadata("parameterAnnotationInDefaultImpls.kt")
public void testParameterAnnotationInDefaultImpls() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt");
}
@TestMetadata("parameterWithPrimitiveType.kt")
public void testParameterWithPrimitiveType() throws Exception {
runTest("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt");
@@ -17504,11 +17499,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
}
@TestMetadata("annotationsOnJavaMembers.kt")
public void testAnnotationsOnJavaMembers() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/annotationsOnJavaMembers.kt");
}
@TestMetadata("findAnnotation.kt")
public void testFindAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
@@ -18517,36 +18507,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testKt6106() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt");
}
@TestMetadata("signatureOfDeepGenericInner.kt")
public void testSignatureOfDeepGenericInner() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt");
}
@TestMetadata("signatureOfDeepInner.kt")
public void testSignatureOfDeepInner() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt");
}
@TestMetadata("signatureOfDeepInnerLastGeneric.kt")
public void testSignatureOfDeepInnerLastGeneric() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt");
}
@TestMetadata("signatureOfGenericInnerGenericOuter.kt")
public void testSignatureOfGenericInnerGenericOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt");
}
@TestMetadata("signatureOfGenericInnerSimpleOuter.kt")
public void testSignatureOfGenericInnerSimpleOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt");
}
@TestMetadata("signatureOfSimpleInnerSimpleOuter.kt")
public void testSignatureOfSimpleInnerSimpleOuter() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/reflection/isInstance")
@@ -18872,11 +18832,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("builtinFunctionsToString.kt")
public void testBuiltinFunctionsToString() throws Exception {
runTest("compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt");
}
@TestMetadata("callableReferencesEqualToCallablesFromAPI.kt")
public void testCallableReferencesEqualToCallablesFromAPI() throws Exception {
runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt");