[LL/FIR] add more resolve tests for declarations with annotations

^KT-63042
This commit is contained in:
Dmitrii Gridin
2023-11-28 17:30:13 +01:00
committed by Space Team
parent 5bd1a97632
commit 69559689fd
156 changed files with 25942 additions and 0 deletions
@@ -2052,6 +2052,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/kt1886annotationBody_before.kt");
}
@Test
@TestMetadata("localImplicitTypeUnavailable.kt")
public void testLocalImplicitTypeUnavailable() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/localImplicitTypeUnavailable.kt");
}
@Test
@TestMetadata("missingValOnParameter.kt")
public void testMissingValOnParameter() throws Exception {
@@ -2154,6 +2160,30 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.kt");
}
@Test
@TestMetadata("propagationAnnotationToLocalMemberFunction.kt")
public void testPropagationAnnotationToLocalMemberFunction() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/propagationAnnotationToLocalMemberFunction.kt");
}
@Test
@TestMetadata("propagationBetweenLocalMemberProperties.kt")
public void testPropagationBetweenLocalMemberProperties() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/propagationBetweenLocalMemberProperties.kt");
}
@Test
@TestMetadata("propagationFromLocalMemberFunctionAnnotation.kt")
public void testPropagationFromLocalMemberFunctionAnnotation() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/propagationFromLocalMemberFunctionAnnotation.kt");
}
@Test
@TestMetadata("propagationToLocalMemberProperty.kt")
public void testPropagationToLocalMemberProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/propagationToLocalMemberProperty.kt");
}
@Test
@TestMetadata("qualifiedNestedClassAsAnnotationParameter.kt")
public void testQualifiedNestedClassAsAnnotationParameter() throws Exception {