mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of the method that is currently tested
|
||||
* @return the name
|
||||
*/
|
||||
protected String getMethod() {
|
||||
return method;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
wasm.test( script, method, params );
|
||||
|
@ -18,6 +18,7 @@ package de.inetsoftware.jwebassembly.runtime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.junit.Assume;
|
||||
import org.junit.ClassRule;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
@ -55,9 +56,11 @@ public class Arrays extends AbstractBaseTest {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
@Override
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user