Check repeatable annotation container parameters, retention, target
#KT-12794 #KT-47928
This commit is contained in:
+30
@@ -2106,6 +2106,36 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
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 {
|
||||
|
||||
+30
@@ -2106,6 +2106,36 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user