Add tests for repeatable annotations on expect-actual declarations
Add tests showing current behavior. ^KT-60670
This commit is contained in:
committed by
Space Team
parent
2de9480101
commit
5ed3f308fa
+12
@@ -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 {
|
||||
|
||||
+12
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user