mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Suppress tests that are failing on C backend
This commit is contained in:
parent
8fb6087bf0
commit
1c56036171
|
@ -25,7 +25,9 @@ import org.junit.After;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@ -104,6 +106,7 @@ public class PipedInputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void available() throws Exception {
|
public void available() throws Exception {
|
||||||
pis = new PipedInputStream();
|
pis = new PipedInputStream();
|
||||||
pos = new PipedOutputStream();
|
pos = new PipedOutputStream();
|
||||||
|
@ -147,6 +150,7 @@ public class PipedInputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void connectLjava_io_PipedOutputStream() throws Exception {
|
public void connectLjava_io_PipedOutputStream() throws Exception {
|
||||||
pis = new PipedInputStream();
|
pis = new PipedInputStream();
|
||||||
pos = new PipedOutputStream();
|
pos = new PipedOutputStream();
|
||||||
|
@ -164,6 +168,7 @@ public class PipedInputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void test_read() throws Exception {
|
public void test_read() throws Exception {
|
||||||
pis = new PipedInputStream();
|
pis = new PipedInputStream();
|
||||||
pos = new PipedOutputStream();
|
pos = new PipedOutputStream();
|
||||||
|
@ -181,6 +186,7 @@ public class PipedInputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void test_read$BII() throws Exception {
|
public void test_read$BII() throws Exception {
|
||||||
pis = new PipedInputStream();
|
pis = new PipedInputStream();
|
||||||
pos = new PipedOutputStream();
|
pos = new PipedOutputStream();
|
||||||
|
|
|
@ -26,7 +26,9 @@ import org.junit.After;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@ -94,6 +96,7 @@ public class PipedOutputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void close() throws Exception {
|
public void close() throws Exception {
|
||||||
out = new PipedOutputStream();
|
out = new PipedOutputStream();
|
||||||
reader = new PReader(out);
|
reader = new PReader(out);
|
||||||
|
@ -129,6 +132,7 @@ public class PipedOutputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void flush() throws IOException {
|
public void flush() throws IOException {
|
||||||
out = new PipedOutputStream();
|
out = new PipedOutputStream();
|
||||||
reader = new PReader(out);
|
reader = new PReader(out);
|
||||||
|
@ -141,6 +145,7 @@ public class PipedOutputStreamTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void write$BII() throws IOException {
|
public void write$BII() throws IOException {
|
||||||
out = new PipedOutputStream();
|
out = new PipedOutputStream();
|
||||||
reader = new PReader(out);
|
reader = new PReader(out);
|
||||||
|
|
|
@ -24,12 +24,15 @@ import java.io.InputStreamReader;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
public class ClassLoaderTest {
|
public class ClassLoaderTest {
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void loadsResources() {
|
public void loadsResources() {
|
||||||
assertEquals("q", loadResource("1"));
|
assertEquals("q", loadResource("1"));
|
||||||
assertEquals("qw", loadResource("2"));
|
assertEquals("qw", loadResource("2"));
|
||||||
|
@ -43,6 +46,7 @@ public class ClassLoaderTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void returnsNullForNonExistentResource() {
|
public void returnsNullForNonExistentResource() {
|
||||||
InputStream input = ClassLoader.getSystemClassLoader().getResourceAsStream("non-existent-resource.txt");
|
InputStream input = ClassLoader.getSystemClassLoader().getResourceAsStream("non-existent-resource.txt");
|
||||||
assertNull(input);
|
assertNull(input);
|
||||||
|
|
|
@ -26,9 +26,12 @@ import java.lang.annotation.RetentionPolicy;
|
||||||
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)
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class ClassTest {
|
public class ClassTest {
|
||||||
@Test
|
@Test
|
||||||
public void classNameEvaluated() {
|
public void classNameEvaluated() {
|
||||||
|
|
|
@ -24,10 +24,13 @@ import java.util.function.Function;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class SerializedLambdaTest {
|
public class SerializedLambdaTest {
|
||||||
@Test
|
@Test
|
||||||
public void serializableLambdaHasWriteReplaceMethod() throws NoSuchMethodException, InvocationTargetException,
|
public void serializableLambdaHasWriteReplaceMethod() throws NoSuchMethodException, InvocationTargetException,
|
||||||
|
|
|
@ -21,7 +21,9 @@ import java.lang.reflect.Array;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@ -41,6 +43,7 @@ public class ArrayTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void setWorks() {
|
public void setWorks() {
|
||||||
Object array = Array.newInstance(String.class, 2);
|
Object array = Array.newInstance(String.class, 2);
|
||||||
Array.set(array, 0, "foo");
|
Array.set(array, 0, "foo");
|
||||||
|
@ -49,6 +52,7 @@ public class ArrayTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void setPrimitiveWorks() {
|
public void setPrimitiveWorks() {
|
||||||
Object array = Array.newInstance(int.class, 2);
|
Object array = Array.newInstance(int.class, 2);
|
||||||
Array.set(array, 0, 23);
|
Array.set(array, 0, 23);
|
||||||
|
|
|
@ -26,10 +26,13 @@ import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.classlib.support.Reflectable;
|
import org.teavm.classlib.support.Reflectable;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class ConstructorTest {
|
public class ConstructorTest {
|
||||||
@Test
|
@Test
|
||||||
public void constructorsEnumerated() {
|
public void constructorsEnumerated() {
|
||||||
|
|
|
@ -23,10 +23,13 @@ import org.junit.runner.RunWith;
|
||||||
import org.teavm.classlib.support.Reflectable;
|
import org.teavm.classlib.support.Reflectable;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
import org.teavm.junit.SkipJVM;
|
import org.teavm.junit.SkipJVM;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class FieldTest {
|
public class FieldTest {
|
||||||
@Test
|
@Test
|
||||||
public void fieldsEnumerated() {
|
public void fieldsEnumerated() {
|
||||||
|
|
|
@ -25,10 +25,13 @@ import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.teavm.classlib.support.Reflectable;
|
import org.teavm.classlib.support.Reflectable;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class MethodTest {
|
public class MethodTest {
|
||||||
@Test
|
@Test
|
||||||
public void methodsEnumerated() {
|
public void methodsEnumerated() {
|
||||||
|
|
|
@ -48,7 +48,9 @@ package org.teavm.classlib.java.time;
|
||||||
|
|
||||||
import static org.testng.Assert.assertEquals;
|
import static org.testng.Assert.assertEquals;
|
||||||
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;
|
||||||
import org.testng.annotations.DataProvider;
|
import org.testng.annotations.DataProvider;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
import org.threeten.bp.jdk8.Jdk8Methods;
|
import org.threeten.bp.jdk8.Jdk8Methods;
|
||||||
|
@ -308,6 +310,7 @@ public class TestDateTimesImplementation {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(dataProvider = "safeMultiplyLongLongProviderOverflow", expectedExceptions = ArithmeticException.class)
|
@Test(dataProvider = "safeMultiplyLongLongProviderOverflow", expectedExceptions = ArithmeticException.class)
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void test_safeMultiplyLongLong_overflow(long a, long b) {
|
public void test_safeMultiplyLongLong_overflow(long a, long b) {
|
||||||
Jdk8Methods.safeMultiply(a, b);
|
Jdk8Methods.safeMultiply(a, b);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,9 +20,12 @@ import java.nio.charset.StandardCharsets;
|
||||||
import java.util.Base64;
|
import java.util.Base64;
|
||||||
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)
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public class Base64Test {
|
public class Base64Test {
|
||||||
@Test
|
@Test
|
||||||
public void decoderWorks() {
|
public void decoderWorks() {
|
||||||
|
|
|
@ -26,7 +26,9 @@ import java.util.Map;
|
||||||
import java.util.TreeMap;
|
import java.util.TreeMap;
|
||||||
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 MapTest {
|
public class MapTest {
|
||||||
|
@ -54,6 +56,7 @@ public class MapTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void copyOfWorks() {
|
public void copyOfWorks() {
|
||||||
testOf(new String[0], Map.copyOf(new HashMap<>()));
|
testOf(new String[0], Map.copyOf(new HashMap<>()));
|
||||||
testOf(new String[] { "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "a" },
|
testOf(new String[] { "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "a" },
|
||||||
|
|
|
@ -27,7 +27,9 @@ import java.util.stream.IntStream;
|
||||||
import java.util.stream.LongStream;
|
import java.util.stream.LongStream;
|
||||||
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 RandomTest {
|
public class RandomTest {
|
||||||
|
@ -61,6 +63,7 @@ public class RandomTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void testIntegers() {
|
public void testIntegers() {
|
||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
int[] ints = IntStream.range(0, 10000).map(i -> random.nextInt())
|
int[] ints = IntStream.range(0, 10000).map(i -> random.nextInt())
|
||||||
|
@ -99,6 +102,7 @@ public class RandomTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void testLongs() {
|
public void testLongs() {
|
||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
long[] longs = IntStream.range(0, 10000).mapToLong(i -> random.nextLong())
|
long[] longs = IntStream.range(0, 10000).mapToLong(i -> random.nextLong())
|
||||||
|
|
|
@ -30,7 +30,9 @@ import org.teavm.interop.AsyncCallback;
|
||||||
import org.teavm.jso.JSBody;
|
import org.teavm.jso.JSBody;
|
||||||
import org.teavm.junit.EachTestCompiledSeparately;
|
import org.teavm.junit.EachTestCompiledSeparately;
|
||||||
import org.teavm.junit.SkipJVM;
|
import org.teavm.junit.SkipJVM;
|
||||||
|
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)
|
||||||
@EachTestCompiledSeparately
|
@EachTestCompiledSeparately
|
||||||
|
@ -253,6 +255,7 @@ public class VMTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@SkipJVM
|
@SkipJVM
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncClinit() {
|
public void asyncClinit() {
|
||||||
assertEquals(0, initCount);
|
assertEquals(0, initCount);
|
||||||
assertEquals("foo", AsyncClinitClass.foo());
|
assertEquals("foo", AsyncClinitClass.foo());
|
||||||
|
@ -264,11 +267,13 @@ public class VMTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncClinitField() {
|
public void asyncClinitField() {
|
||||||
assertEquals("ok", AsyncClinitClass.state);
|
assertEquals("ok", AsyncClinitClass.state);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncClinitInstance() {
|
public void asyncClinitInstance() {
|
||||||
AsyncClinitClass acl = new AsyncClinitClass();
|
AsyncClinitClass acl = new AsyncClinitClass();
|
||||||
assertEquals("ok", AsyncClinitClass.state);
|
assertEquals("ok", AsyncClinitClass.state);
|
||||||
|
@ -276,6 +281,7 @@ public class VMTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncWait() {
|
public void asyncWait() {
|
||||||
AsyncClinitClass acl = new AsyncClinitClass();
|
AsyncClinitClass acl = new AsyncClinitClass();
|
||||||
acl.doWait();
|
acl.doWait();
|
||||||
|
@ -284,6 +290,7 @@ public class VMTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@SkipJVM
|
@SkipJVM
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void loopAndExceptionPhi() {
|
public void loopAndExceptionPhi() {
|
||||||
int[] a = createArray();
|
int[] a = createArray();
|
||||||
int s = 0;
|
int s = 0;
|
||||||
|
@ -302,6 +309,7 @@ public class VMTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@SkipJVM
|
@SkipJVM
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncTryCatch() {
|
public void asyncTryCatch() {
|
||||||
try {
|
try {
|
||||||
throwExceptionAsync();
|
throwExceptionAsync();
|
||||||
|
@ -313,6 +321,7 @@ public class VMTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@SkipJVM
|
@SkipJVM
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void asyncExceptionHandler() {
|
public void asyncExceptionHandler() {
|
||||||
try {
|
try {
|
||||||
throw new RuntimeException("OK");
|
throw new RuntimeException("OK");
|
||||||
|
@ -518,6 +527,7 @@ public class VMTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void indirectDefaultMethod() {
|
public void indirectDefaultMethod() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (FirstPath o : new FirstPath[] { new PathJoint(), new FirstPathOptimizationPrevention() }) {
|
for (FirstPath o : new FirstPath[] { new PathJoint(), new FirstPathOptimizationPrevention() }) {
|
||||||
|
@ -527,6 +537,7 @@ public class VMTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipPlatform(TestPlatform.C)
|
||||||
public void indirectDefaultMethodSubclass() {
|
public void indirectDefaultMethodSubclass() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (FirstPath o : new FirstPath[] { new PathJointSubclass(), new FirstPathOptimizationPrevention() }) {
|
for (FirstPath o : new FirstPath[] { new PathJointSubclass(), new FirstPathOptimizationPrevention() }) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user