K2: add test to confirm behavior described in KT-62918

#KT-62918 Obsolete
Related to: KT-60086, KT-59920
This commit is contained in:
Mikhail Glukhikh
2023-10-26 10:50:42 +02:00
committed by Space Team
parent a90562c0da
commit dda7004d66
8 changed files with 108 additions and 0 deletions
@@ -12350,6 +12350,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
}
@Test
@TestMetadata("ambiguousAnonymousExposed.kt")
public void testAmbiguousAnonymousExposed() throws Exception {
runTest("compiler/testData/diagnostics/tests/exposed/ambiguousAnonymousExposed.kt");
}
@Test
@TestMetadata("delegate.kt")
public void testDelegate() throws Exception {
@@ -12350,6 +12350,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exposed"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
}
@Test
@TestMetadata("ambiguousAnonymousExposed.kt")
public void testAmbiguousAnonymousExposed() throws Exception {
runTest("compiler/testData/diagnostics/tests/exposed/ambiguousAnonymousExposed.kt");
}
@Test
@TestMetadata("delegate.kt")
public void testDelegate() throws Exception {