[Test] Add tests for annotations set on type usages in expect and

...actual declarations.

 MR: KT-MR-12245

^KT-60671
This commit is contained in:
Roman Efremov
2023-10-05 13:15:27 +02:00
committed by Space Team
parent fbdc64cdad
commit cb8529d65b
12 changed files with 323 additions and 17 deletions
@@ -24101,6 +24101,24 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typeParameters.kt");
}
@Test
@TestMetadata("typeUsage.kt")
public void testTypeUsage() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typeUsage.kt");
}
@Test
@TestMetadata("typeUsageWithImplicitType.kt")
public void testTypeUsageWithImplicitType() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typeUsageWithImplicitType.kt");
}
@Test
@TestMetadata("typeUsageWithUnresolvedReference.kt")
public void testTypeUsageWithUnresolvedReference() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typeUsageWithUnresolvedReference.kt");
}
@Test
@TestMetadata("typealias.kt")
public void testTypealias() throws Exception {