Add tests for repeatable annotations on expect-actual declarations

Add tests showing current behavior.

^KT-60670
This commit is contained in:
Roman Efremov
2023-08-01 12:59:45 +02:00
committed by Space Team
parent 2de9480101
commit 5ed3f308fa
6 changed files with 139 additions and 0 deletions
@@ -292,6 +292,18 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/kotlinAnaloguesForJavaAnnotations.kt");
}
@Test
@TestMetadata("repeatableNoArg.kt")
public void testRepeatableNoArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/repeatableNoArg.kt");
}
@Test
@TestMetadata("repeatableWithArg.kt")
public void testRepeatableWithArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/repeatableWithArg.kt");
}
@Test
@TestMetadata("skippedAnnotations.kt")
public void testSkippedAnnotations() throws Exception {
@@ -292,6 +292,18 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/kotlinAnaloguesForJavaAnnotations.kt");
}
@Test
@TestMetadata("repeatableNoArg.kt")
public void testRepeatableNoArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/repeatableNoArg.kt");
}
@Test
@TestMetadata("repeatableWithArg.kt")
public void testRepeatableWithArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/repeatableWithArg.kt");
}
@Test
@TestMetadata("skippedAnnotations.kt")
public void testSkippedAnnotations() throws Exception {