[Test] Add a test covering for resolution to subsumed members for raw types
^KT-57620
This commit is contained in:
committed by
Space Team
parent
e12e78d96b
commit
fcba0ad75e
+16
@@ -25675,6 +25675,22 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/rawTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class RawTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInRawTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57620.kt")
|
||||
public void testKt57620() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/rawTypes/kt57620.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/reassignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+16
@@ -25675,6 +25675,22 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/rawTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class RawTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInRawTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/rawTypes"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57620.kt")
|
||||
public void testKt57620() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/rawTypes/kt57620.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/reassignment")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user