JS: mute some tests with extension functions in external declarations

This commit is contained in:
Anton Bannykh
2017-03-03 21:39:40 +03:00
parent fcffd190d0
commit 4c6b9b695c
3 changed files with 20 additions and 2 deletions
@@ -5957,7 +5957,13 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@TestMetadata("passExtLambdaToNative.kt")
public void testPassExtLambdaToNative() throws Exception {
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")
@@ -5969,7 +5975,13 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
@TestMetadata("passMemberOrExtToNative.kt")
public void testPassMemberOrExtToNative() throws Exception {
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")
@@ -1,3 +1,6 @@
// TODO: Unmute when extension functions are supported in external declarations.
// IGNORE_BACKEND: JS
package foo
external class A(v: String) {
@@ -1,3 +1,6 @@
// TODO: Unmute when extension functions are supported in external declarations.
// IGNORE_BACKEND: JS
package foo
open class A(val v: String) {