[FIR] Implement EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE

^KT-60367 Fixed
KT review: https://jetbrains.team/p/kt/reviews/14064/timeline
IJ review: https://jetbrains.team/p/ij/reviews/124657/timeline
This commit is contained in:
Nikita Bobko
2024-01-17 19:36:28 +01:00
committed by teamcity
parent b317a88536
commit c214c5445a
25 changed files with 254 additions and 36 deletions
@@ -139,6 +139,24 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBeta_suppressWarningWithLv.kt");
}
@Test
@TestMetadata("expectActualInTheSameModule.kt")
public void testExpectActualInTheSameModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualInTheSameModule.kt");
}
@Test
@TestMetadata("expectActualInTheSameModuleDifferentFiles.kt")
public void testExpectActualInTheSameModuleDifferentFiles() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualInTheSameModuleDifferentFiles.kt");
}
@Test
@TestMetadata("expectActualMainInTheSameModuleDifferentFiles.kt")
public void testExpectActualMainInTheSameModuleDifferentFiles() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualMainInTheSameModuleDifferentFiles.kt");
}
@Test
@TestMetadata("expectDataObject.kt")
public void testExpectDataObject() throws Exception {
@@ -139,6 +139,24 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualClassesAreInBeta_suppressWarningWithLv.kt");
}
@Test
@TestMetadata("expectActualInTheSameModule.kt")
public void testExpectActualInTheSameModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualInTheSameModule.kt");
}
@Test
@TestMetadata("expectActualInTheSameModuleDifferentFiles.kt")
public void testExpectActualInTheSameModuleDifferentFiles() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualInTheSameModuleDifferentFiles.kt");
}
@Test
@TestMetadata("expectActualMainInTheSameModuleDifferentFiles.kt")
public void testExpectActualMainInTheSameModuleDifferentFiles() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectActualMainInTheSameModuleDifferentFiles.kt");
}
@Test
@TestMetadata("expectDataObject.kt")
public void testExpectDataObject() throws Exception {