From 1061ad76b63d85f2c84074e54184be6a377c8b61 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Fri, 27 Oct 2023 08:08:53 +0200 Subject: [PATCH] classlib: suppress test that fails in WebAssembly --- .../test/java/org/teavm/classlib/java/util/EnumMapTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/test/java/org/teavm/classlib/java/util/EnumMapTest.java b/tests/src/test/java/org/teavm/classlib/java/util/EnumMapTest.java index e3b782925..64ff7b84b 100644 --- a/tests/src/test/java/org/teavm/classlib/java/util/EnumMapTest.java +++ b/tests/src/test/java/org/teavm/classlib/java/util/EnumMapTest.java @@ -36,7 +36,9 @@ import java.util.Objects; import java.util.Set; import org.junit.Test; import org.junit.runner.RunWith; +import org.teavm.junit.SkipPlatform; import org.teavm.junit.TeaVMTestRunner; +import org.teavm.junit.TestPlatform; @RunWith(TeaVMTestRunner.class) public class EnumMapTest { @@ -293,6 +295,7 @@ public class EnumMapTest { @Test @SuppressWarnings({ "unchecked", "rawtypes" }) + @SkipPlatform({TestPlatform.WEBASSEMBLY, TestPlatform.WASI}) public void putAll() { EnumMap enumColorMap = new EnumMap(Color.class); enumColorMap.put(Color.Green, 2);