KJS: remove no longer valid test
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user