Add more tests to JS IR whitelist and regenerate tests
This commit is contained in:
@@ -13,5 +13,7 @@ val JS_IR_BACKEND_TEST_WHITELIST = listOf(
|
||||
"js/js.translator/testData/box/package/deeplyNestedPackageFunctionCalled.kt",
|
||||
"js/js.translator/testData/box/multiPackage/nestedPackageFunctionCalledFromOtherPackage.kt",
|
||||
"js/js.translator/testData/box/expression/identifierClash/useVariableOfNameOfFunction.kt",
|
||||
"js/js.translator/testData/box/expression/stringClass/stringConstant.kt"
|
||||
"js/js.translator/testData/box/expression/stringClass/stringConstant.kt",
|
||||
"js/js.translator/testData/box/expression/when/empty.kt",
|
||||
"js/js.translator/testData/box/simple/notBoolean.kt"
|
||||
).map { File(it) }
|
||||
|
||||
+2
-24
@@ -8912,18 +8912,7 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
@TestMetadata("empty.kt")
|
||||
public void testEmpty() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/expression/when/empty.kt");
|
||||
if (KotlinTestUtils.RUN_IGNORED_TESTS_AS_REGULAR) {
|
||||
doTest(fileName);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
doTest(fileName);
|
||||
}
|
||||
catch (Throwable ignore) {
|
||||
ignore.printStackTrace();
|
||||
return;
|
||||
}
|
||||
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive or add it to whitelist for that.");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("exhaustiveCheckException.kt")
|
||||
@@ -21345,18 +21334,7 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
@TestMetadata("notBoolean.kt")
|
||||
public void testNotBoolean() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/simple/notBoolean.kt");
|
||||
if (KotlinTestUtils.RUN_IGNORED_TESTS_AS_REGULAR) {
|
||||
doTest(fileName);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
doTest(fileName);
|
||||
}
|
||||
catch (Throwable ignore) {
|
||||
ignore.printStackTrace();
|
||||
return;
|
||||
}
|
||||
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive or add it to whitelist for that.");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("plusAssign.kt")
|
||||
|
||||
Reference in New Issue
Block a user