KJS: remove no longer valid test

This commit is contained in:
Zalim Bashorov
2016-11-15 15:16:40 +03:00
parent aa2a4f0794
commit 01d10a9592
3 changed files with 0 additions and 29 deletions
@@ -5687,12 +5687,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("nestedNative.kt")
public void testNestedNative() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nestedTypes/nestedNative.kt");
doTest(fileName);
}
@TestMetadata("nestedObjectLazyInitialized.kt")
public void testNestedObjectLazyInitialized() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/nestedTypes/nestedObjectLazyInitialized.kt");
@@ -1,7 +0,0 @@
function B(value) {
this.foo = 100 + value;
}
B.prototype = {};
B.prototype.bar = function() {
return this.foo + 1000;
};
@@ -1,16 +0,0 @@
package foo
open class A {
@native class B(value: Int = 0) {
val foo: Int
get() = noImpl
fun bar(): Int = noImpl
}
}
fun box(): String {
var b = A.B(23)
if (b.foo != 123) return "failed1: ${b.foo}"
if (b.bar() != 1123) return "failed2: ${b.bar()}"
return "OK"
}