Check repeatable annotation container parameters, retention, target

#KT-12794
 #KT-47928
This commit is contained in:
Alexander Udalov
2021-07-28 01:10:43 +02:00
parent 0a6d010d1c
commit e20b354dbd
28 changed files with 1362 additions and 5 deletions
@@ -2106,6 +2106,36 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerAndAnnotationAreBothApplied_1_6.kt");
}
@Test
@TestMetadata("containerArguments_1_5.kt")
public void testContainerArguments_1_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerArguments_1_5.kt");
}
@Test
@TestMetadata("containerArguments_1_6.kt")
public void testContainerArguments_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerArguments_1_6.kt");
}
@Test
@TestMetadata("containerRetention_1_5.kt")
public void testContainerRetention_1_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerRetention_1_5.kt");
}
@Test
@TestMetadata("containerRetention_1_6.kt")
public void testContainerRetention_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerRetention_1_6.kt");
}
@Test
@TestMetadata("containerTarget_1_6.kt")
public void testContainerTarget_1_6() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/repeatable/containerTarget_1_6.kt");
}
@Test
@TestMetadata("javaRepeatableJvmTarget6.kt")
public void testJavaRepeatableJvmTarget6() throws Exception {