Support using Java-repeatable annotations in Kotlin

#KT-12794
This commit is contained in:
Alexander Udalov
2021-07-20 16:30:04 +02:00
parent f723389565
commit 87130edfa2
42 changed files with 958 additions and 42 deletions
@@ -2095,21 +2095,39 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
}
@Test
@TestMetadata("javaRepeatable.kt")
public void testJavaRepeatable() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaRepeatable.kt");
@TestMetadata("javaRepeatable_1_5.kt")
public void testJavaRepeatable_1_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaRepeatable_1_5.kt");
}
@Test
@TestMetadata("javaUnrepeatable.kt")
public void testJavaUnrepeatable() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaUnrepeatable.kt");
@TestMetadata("javaRepeatable_1_6.kt")
public void testJavaRepeatable_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaRepeatable_1_6.kt");
}
@Test
@TestMetadata("kotlinRepeatable.kt")
public void testKotlinRepeatable() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/kotlinRepeatable.kt");
@TestMetadata("javaUnrepeatable_1_5.kt")
public void testJavaUnrepeatable_1_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaUnrepeatable_1_5.kt");
}
@Test
@TestMetadata("javaUnrepeatable_1_6.kt")
public void testJavaUnrepeatable_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/javaUnrepeatable_1_6.kt");
}
@Test
@TestMetadata("kotlinRepeatable_1_5.kt")
public void testKotlinRepeatable_1_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/kotlinRepeatable_1_5.kt");
}
@Test
@TestMetadata("kotlinRepeatable_1_6.kt")
public void testKotlinRepeatable_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/kotlinRepeatable_1_6.kt");
}
}