Added tests for all code samples from KT-60523, except 2.3.

Test for 2.3 sample must be added in the context of KT-61792.
This commit is contained in:
Anastasia.Nekrasova
2023-09-11 19:59:15 +03:00
committed by Space Team
parent 2dae7ce6c1
commit eab6e9bb36
22 changed files with 182 additions and 0 deletions
@@ -23553,6 +23553,12 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("deprecatedAnnotationOnlyOnActual_useInCommon.kt")
public void testDeprecatedAnnotationOnlyOnActual_useInCommon() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/deprecatedAnnotationOnlyOnActual_useInCommon.kt");
}
@Test
@TestMetadata("expectAnnotationCallInLibrary.kt")
public void testExpectAnnotationCallInLibrary() throws Exception {
@@ -23553,6 +23553,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@Test
@TestMetadata("deprecatedAnnotationOnlyOnActual_useInCommon.kt")
public void testDeprecatedAnnotationOnlyOnActual_useInCommon() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/annotations/deprecatedAnnotationOnlyOnActual_useInCommon.kt");
}
@Test
@TestMetadata("expectAnnotationCallInLibrary.kt")
public void testExpectAnnotationCallInLibrary() throws Exception {