mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Enable the Array tests with the GC from the JavaScript host.
This commit is contained in:
parent
32e609b32f
commit
010362e7d0
@ -58,6 +58,14 @@ public abstract class AbstractBaseTest {
|
|||||||
return script;
|
return script;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the name of the method that is currently tested
|
||||||
|
* @return the name
|
||||||
|
*/
|
||||||
|
protected String getMethod() {
|
||||||
|
return method;
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() {
|
public void test() {
|
||||||
wasm.test( script, method, params );
|
wasm.test( script, method, params );
|
||||||
|
@ -18,6 +18,7 @@ package de.inetsoftware.jwebassembly.runtime;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
|
import org.junit.Assume;
|
||||||
import org.junit.ClassRule;
|
import org.junit.ClassRule;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
@ -55,9 +56,11 @@ public class Arrays extends AbstractBaseTest {
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
|
||||||
@Test
|
@Test
|
||||||
|
@Override
|
||||||
public void test() {
|
public void test() {
|
||||||
|
Assume.assumeFalse( (getScriptEngine() == ScriptEngine.SpiderMonkeyWat || getScriptEngine() == ScriptEngine.SpiderMonkey)
|
||||||
|
&& "loopLong".equals( getMethod() ) ); // TODO SpiderMonkey https://bugzilla.mozilla.org/show_bug.cgi?id=1511958
|
||||||
super.test();
|
super.test();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user