FE MPP: add a test with expect value class B : interface with toString

Related to KT-54844
This commit is contained in:
Mikhail Glukhikh
2023-05-23 10:37:41 +02:00
committed by Space Team
parent f67f8c393b
commit 0ea0346ec1
4 changed files with 41 additions and 0 deletions
@@ -25,6 +25,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("expectAbstractToString.kt")
public void testExpectAbstractToString() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectAbstractToString.kt");
}
@Test
@TestMetadata("expectDataObject.kt")
public void testExpectDataObject() throws Exception {
@@ -25,6 +25,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("expectAbstractToString.kt")
public void testExpectAbstractToString() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectAbstractToString.kt");
}
@Test
@TestMetadata("expectDataObject.kt")
public void testExpectDataObject() throws Exception {