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:
committed by
Space Team
parent
2dae7ce6c1
commit
eab6e9bb36
+6
@@ -23805,6 +23805,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
|
||||
Generated
+6
@@ -23805,6 +23805,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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 {
|
||||
|
||||
+6
@@ -23805,6 +23805,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
|
||||
+6
@@ -23805,6 +23805,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/k2/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, 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 {
|
||||
|
||||
Reference in New Issue
Block a user