JS: mute some tests with extension functions in external declarations
This commit is contained in:
@@ -5957,7 +5957,13 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
|||||||
@TestMetadata("passExtLambdaToNative.kt")
|
@TestMetadata("passExtLambdaToNative.kt")
|
||||||
public void testPassExtLambdaToNative() throws Exception {
|
public void testPassExtLambdaToNative() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/passExtLambdaToNative.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/passExtLambdaToNative.kt");
|
||||||
doTest(fileName);
|
try {
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
catch (Throwable ignore) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("passMemberOrExtFromNative.kt")
|
@TestMetadata("passMemberOrExtFromNative.kt")
|
||||||
@@ -5969,7 +5975,13 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
|||||||
@TestMetadata("passMemberOrExtToNative.kt")
|
@TestMetadata("passMemberOrExtToNative.kt")
|
||||||
public void testPassMemberOrExtToNative() throws Exception {
|
public void testPassMemberOrExtToNative() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/passMemberOrExtToNative.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/passMemberOrExtToNative.kt");
|
||||||
doTest(fileName);
|
try {
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
catch (Throwable ignore) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("passTopLevelFunctionFromNative.kt")
|
@TestMetadata("passTopLevelFunctionFromNative.kt")
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// TODO: Unmute when extension functions are supported in external declarations.
|
||||||
|
// IGNORE_BACKEND: JS
|
||||||
|
|
||||||
package foo
|
package foo
|
||||||
|
|
||||||
external class A(v: String) {
|
external class A(v: String) {
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// TODO: Unmute when extension functions are supported in external declarations.
|
||||||
|
// IGNORE_BACKEND: JS
|
||||||
|
|
||||||
package foo
|
package foo
|
||||||
|
|
||||||
open class A(val v: String) {
|
open class A(val v: String) {
|
||||||
|
|||||||
Reference in New Issue
Block a user