[JS IR] Add tests for string template with valueOf

^KT-62763
This commit is contained in:
Alexander Korepanov
2023-11-22 17:42:23 +01:00
committed by Space Team
parent 6c4a6e2a02
commit 70d99e1964
5 changed files with 217 additions and 0 deletions
@@ -68,6 +68,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
runTest("js/js.translator/testData/box/builtins/hashCode.kt");
}
@Test
@TestMetadata("stringTemplateWithValueOf.kt")
public void testStringTemplateWithValueOf() throws Exception {
runTest("js/js.translator/testData/box/builtins/stringTemplateWithValueOf.kt");
}
@Test
@TestMetadata("superCallsToAnyMethods.kt")
public void testSuperCallsToAnyMethods() throws Exception {
@@ -68,6 +68,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
runTest("js/js.translator/testData/box/builtins/hashCode.kt");
}
@Test
@TestMetadata("stringTemplateWithValueOf.kt")
public void testStringTemplateWithValueOf() throws Exception {
runTest("js/js.translator/testData/box/builtins/stringTemplateWithValueOf.kt");
}
@Test
@TestMetadata("superCallsToAnyMethods.kt")
public void testSuperCallsToAnyMethods() throws Exception {
@@ -68,6 +68,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
runTest("js/js.translator/testData/box/builtins/hashCode.kt");
}
@Test
@TestMetadata("stringTemplateWithValueOf.kt")
public void testStringTemplateWithValueOf() throws Exception {
runTest("js/js.translator/testData/box/builtins/stringTemplateWithValueOf.kt");
}
@Test
@TestMetadata("superCallsToAnyMethods.kt")
public void testSuperCallsToAnyMethods() throws Exception {
@@ -68,6 +68,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/builtins/hashCode.kt");
}
@Test
@TestMetadata("stringTemplateWithValueOf.kt")
public void testStringTemplateWithValueOf() throws Exception {
runTest("js/js.translator/testData/box/builtins/stringTemplateWithValueOf.kt");
}
@Test
@TestMetadata("superCallsToAnyMethods.kt")
public void testSuperCallsToAnyMethods() throws Exception {