mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
classlib: suppress test that fails in WebAssembly
This commit is contained in:
parent
5d5fb47ca8
commit
1061ad76b6
|
@ -36,7 +36,9 @@ import java.util.Objects;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
import org.teavm.junit.SkipPlatform;
|
||||||
import org.teavm.junit.TeaVMTestRunner;
|
import org.teavm.junit.TeaVMTestRunner;
|
||||||
|
import org.teavm.junit.TestPlatform;
|
||||||
|
|
||||||
@RunWith(TeaVMTestRunner.class)
|
@RunWith(TeaVMTestRunner.class)
|
||||||
public class EnumMapTest {
|
public class EnumMapTest {
|
||||||
|
@ -293,6 +295,7 @@ public class EnumMapTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||||
|
@SkipPlatform({TestPlatform.WEBASSEMBLY, TestPlatform.WASI})
|
||||||
public void putAll() {
|
public void putAll() {
|
||||||
EnumMap enumColorMap = new EnumMap(Color.class);
|
EnumMap enumColorMap = new EnumMap(Color.class);
|
||||||
enumColorMap.put(Color.Green, 2);
|
enumColorMap.put(Color.Green, 2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user