Update test annotations

This commit is contained in:
Alexey Andreev 2023-10-01 21:37:23 +02:00
parent db4418ae1d
commit d850780d94
183 changed files with 122 additions and 293 deletions

View File

@ -43,11 +43,9 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@SuppressWarnings("resource") @SuppressWarnings("resource")
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BufferedInputStreamTest { public class BufferedInputStreamTest {
@Test @Test
public void test_ConstructorLjava_io_InputStream() { public void test_ConstructorLjava_io_InputStream() {

View File

@ -23,10 +23,8 @@ import java.io.StringReader;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BufferedReaderTest { public class BufferedReaderTest {
@Test @Test
public void readsCharacters() throws IOException { public void readsCharacters() throws IOException {

View File

@ -30,10 +30,8 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BufferedWriterTest { public class BufferedWriterTest {
private BufferedWriter bw; private BufferedWriter bw;
private StringWriter sw; private StringWriter sw;

View File

@ -20,10 +20,8 @@ import java.io.ByteArrayInputStream;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class ByteArrayInputStreamTest { public class ByteArrayInputStreamTest {
@Test @Test
public void readsSingleByte() { public void readsSingleByte() {

View File

@ -26,10 +26,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class CharArrayReaderTest { public class CharArrayReaderTest {
char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' };
CharArrayReader cr; CharArrayReader cr;

View File

@ -25,10 +25,8 @@ import java.io.StringWriter;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class CharArrayWriterTest { public class CharArrayWriterTest {
char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' };
CharArrayWriter cw = new CharArrayWriter(); CharArrayWriter cw = new CharArrayWriter();

View File

@ -31,10 +31,8 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class FileInputStreamTest { public class FileInputStreamTest {
public String fileName; public String fileName;
public String fileString = "" public String fileString = ""

View File

@ -28,10 +28,8 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class FileOutputStreamTest { public class FileOutputStreamTest {
private String fileName; private String fileName;
private String fileString = private String fileString =

View File

@ -37,10 +37,8 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.interop.PlatformMarker; import org.teavm.interop.PlatformMarker;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class FileTest { public class FileTest {
private static String platformId = "JDK" + System.getProperty("java.vm.version").replace('.', '-'); private static String platformId = "JDK" + System.getProperty("java.vm.version").replace('.', '-');

View File

@ -22,10 +22,8 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class InputStreamReaderTest { public class InputStreamReaderTest {
@Test @Test
public void readsChars() throws IOException { public void readsChars() throws IOException {

View File

@ -22,10 +22,8 @@ import java.io.InputStream;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class InputStreamTest { public class InputStreamTest {
@Test @Test
@SuppressWarnings("resource") @SuppressWarnings("resource")

View File

@ -45,10 +45,8 @@ import java.io.UnsupportedEncodingException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class OutputStreamWriterTest { public class OutputStreamWriterTest {
private static final int UPPER = 0xd800; private static final int UPPER = 0xd800;

View File

@ -24,9 +24,11 @@ import java.io.PipedOutputStream;
import org.junit.After; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class PipedInputStreamTest { public class PipedInputStreamTest {
static class PWriter implements Runnable { static class PWriter implements Runnable {
PipedOutputStream pos; PipedOutputStream pos;

View File

@ -25,9 +25,11 @@ import java.io.PipedOutputStream;
import org.junit.After; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class PipedOutputStreamTest { public class PipedOutputStreamTest {
static class PReader implements Runnable { static class PReader implements Runnable {
PipedInputStream reader; PipedInputStream reader;

View File

@ -47,10 +47,8 @@ import java.util.Locale;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class PrintWriterTest { public class PrintWriterTest {
static class Bogus { static class Bogus {
public String toString() { public String toString() {

View File

@ -41,11 +41,9 @@ import java.io.PushbackInputStream;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@SuppressWarnings("resource") @SuppressWarnings("resource")
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class PushbackInputStreamTest { public class PushbackInputStreamTest {
PushbackInputStream pis; PushbackInputStream pis;

View File

@ -26,10 +26,8 @@ import java.io.StringReader;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class StreamTokenizerTest { public class StreamTokenizerTest {
private StreamTokenizer st; private StreamTokenizer st;

View File

@ -23,10 +23,8 @@ import java.io.StringWriter;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class StringWriterTest { public class StringWriterTest {
StringWriter sw = new StringWriter(); StringWriter sw = new StringWriter();

View File

@ -20,9 +20,7 @@ import static org.junit.Assert.assertTrue;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@WholeClassCompilation
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
public class ByteTest { public class ByteTest {
@Test @Test

View File

@ -23,9 +23,11 @@ import java.io.InputStream;
import java.io.InputStreamReader; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ClassLoaderTest { public class ClassLoaderTest {
@Test @Test
public void loadsResources() { public void loadsResources() {

View File

@ -20,9 +20,11 @@ import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class EnumTest { public class EnumTest {
private enum Foo { private enum Foo {
A, B, C A, B, C

View File

@ -21,10 +21,8 @@ import static org.junit.Assert.assertTrue;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class IntegerTest { public class IntegerTest {
@Test @Test
public void testRightUnsignedShift() { public void testRightUnsignedShift() {

View File

@ -21,10 +21,8 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class LongTest { public class LongTest {
@Test @Test

View File

@ -22,9 +22,11 @@ import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ObjectTest { public class ObjectTest {
@Test @Test
public void objectCreated() { public void objectCreated() {

View File

@ -20,9 +20,7 @@ import static org.junit.Assert.assertTrue;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@WholeClassCompilation
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
public class ShortTest { public class ShortTest {
@Test @Test

View File

@ -19,10 +19,8 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class StringBuilderTest { public class StringBuilderTest {
@Test @Test
public void integerAppended() { public void integerAppended() {

View File

@ -24,9 +24,13 @@ import static org.junit.Assert.assertTrue;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
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.SkipPlatform;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.TestPlatform;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class StringTest { public class StringTest {
@Test @Test
public void charsExtracted() { public void charsExtracted() {
@ -102,7 +106,7 @@ public class StringTest {
} }
@Test @Test
public void endsWithWorkds() { public void endsWithWorks() {
assertTrue("12345".endsWith("45")); assertTrue("12345".endsWith("45"));
} }
@ -310,12 +314,14 @@ public class StringTest {
} }
@Test @Test
@SkipPlatform({ TestPlatform.C, TestPlatform.WEBASSEMBLY, TestPlatform.WASI })
public void interns() { public void interns() {
assertSame("xabc".substring(1).intern(), "abcx".substring(0, 3).intern()); assertSame("xabc".substring(1).intern(), "abcx".substring(0, 3).intern());
assertSame("xabc".substring(1).intern(), "abc"); assertSame("xabc".substring(1).intern(), "abc");
} }
@Test @Test
@SkipPlatform({ TestPlatform.C, TestPlatform.WEBASSEMBLY, TestPlatform.WASI })
public void internsConstants() { public void internsConstants() {
assertSame("abc", ("a" + "bc").intern()); assertSame("abc", ("a" + "bc").intern());
} }

View File

@ -25,10 +25,12 @@ import java.io.PrintStream;
import java.util.Properties; import java.util.Properties;
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.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class SystemTest { public class SystemTest {
@Test @Test
public void copiesArray() { public void copiesArray() {

View File

@ -23,9 +23,11 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ThreadTest { public class ThreadTest {
@Test @Test
public void sleeps() throws InterruptedException { public void sleeps() throws InterruptedException {

View File

@ -19,9 +19,11 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ThrowableTest { public class ThrowableTest {
@Test @Test
public void causeWorks() { public void causeWorks() {

View File

@ -23,9 +23,11 @@ import java.lang.reflect.Method;
import java.util.function.Function; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class SerializedLambdaTest { public class SerializedLambdaTest {
@Test @Test
public void serializableLambdaHasWriteReplaceMethod() throws NoSuchMethodException, InvocationTargetException, public void serializableLambdaHasWriteReplaceMethod() throws NoSuchMethodException, InvocationTargetException,

View File

@ -25,11 +25,13 @@ import java.util.concurrent.ArrayBlockingQueue;
import org.junit.Ignore; import org.junit.Ignore;
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.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@SkipJVM @SkipJVM
@EachTestCompiledSeparately
public class WeakReferenceTest { public class WeakReferenceTest {
private Node lastNode; private Node lastNode;

View File

@ -20,9 +20,11 @@ import static org.junit.Assert.assertEquals;
import java.lang.reflect.Array; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ArrayTest { public class ArrayTest {
@Test @Test
public void createsNewInstance() { public void createsNewInstance() {

View File

@ -25,9 +25,11 @@ import java.util.List;
import org.junit.Test; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class ConstructorTest { public class ConstructorTest {
@Test @Test
public void constructorsEnumerated() { public void constructorsEnumerated() {

View File

@ -21,10 +21,12 @@ import java.lang.reflect.Field;
import org.junit.Test; 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.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class FieldTest { public class FieldTest {
@Test @Test
public void fieldsEnumerated() { public void fieldsEnumerated() {

View File

@ -24,9 +24,11 @@ import java.util.List;
import org.junit.Test; 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@EachTestCompiledSeparately
public class MethodTest { public class MethodTest {
@Test @Test
public void methodsEnumerated() { public void methodsEnumerated() {

View File

@ -42,10 +42,8 @@ import java.math.RoundingMode;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigDecimalArithmeticTest { public class BigDecimalArithmeticTest {
/** /**
* Add two numbers of equal positive scales * Add two numbers of equal positive scales

View File

@ -47,10 +47,8 @@ import java.math.RoundingMode;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigDecimalCompareTest { public class BigDecimalCompareTest {
/** /**
* Abs() of a negative BigDecimal * Abs() of a negative BigDecimal

View File

@ -45,10 +45,8 @@ import java.math.RoundingMode;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigDecimalConstructorsTest { public class BigDecimalConstructorsTest {
/** /**
* check ONE * check ONE

View File

@ -44,10 +44,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigDecimalConvertTest { public class BigDecimalConvertTest {
/** /**
* Double value of a negative BigDecimal * Double value of a negative BigDecimal

View File

@ -45,10 +45,8 @@ import java.math.RoundingMode;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigDecimalScaleOperationsTest { public class BigDecimalScaleOperationsTest {
/** /**
* Check the default scale * Check the default scale

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerAddTest { public class BigIntegerAddTest {
/** /**
* Add two positive numbers of the same length * Add two positive numbers of the same length

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerAndTest { public class BigIntegerAndTest {
/** /**
* And for zero and a positive number * And for zero and a positive number

View File

@ -43,10 +43,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerCompareTest { public class BigIntegerCompareTest {
/** /**
* abs() for a positive number * abs() for a positive number

View File

@ -44,10 +44,8 @@ import java.util.Random;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerConstructorsTest { public class BigIntegerConstructorsTest {
/** /**
* Create a number from an array of bytes. * Create a number from an array of bytes.

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerConvertTest { public class BigIntegerConvertTest {
/** /**
* Return the double value of ZERO. * Return the double value of ZERO.

View File

@ -43,10 +43,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerDivideTest { public class BigIntegerDivideTest {
/** /**
* Divide by zero * Divide by zero

View File

@ -41,10 +41,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerHashCodeTest { public class BigIntegerHashCodeTest {
/** /**
* Test hash codes for the same object * Test hash codes for the same object

View File

@ -43,10 +43,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerModPowTest { public class BigIntegerModPowTest {
/** /**
* modPow: non-positive modulus * modPow: non-positive modulus

View File

@ -43,10 +43,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerMultiplyTest { public class BigIntegerMultiplyTest {
/** /**
* Multiply two negative numbers of the same length * Multiply two negative numbers of the same length

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerNotTest { public class BigIntegerNotTest {
/** /**
* andNot for two positive numbers; the first is longer * andNot for two positive numbers; the first is longer

View File

@ -43,10 +43,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerOperateBitsTest { public class BigIntegerOperateBitsTest {
/** /**
* bitCount() of zero. * bitCount() of zero.

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerOrTest { public class BigIntegerOrTest {
/** /**
* Or for zero and a positive number * Or for zero and a positive number

View File

@ -42,10 +42,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerSubtractTest { public class BigIntegerSubtractTest {
/** /**
* Subtract two positive numbers of the same length. * Subtract two positive numbers of the same length.

View File

@ -41,10 +41,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerToStringTest { public class BigIntegerToStringTest {
/** /**
* If 36 < radix < 2 it should be set to 10 * If 36 < radix < 2 it should be set to 10

View File

@ -41,10 +41,8 @@ import java.math.BigInteger;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class BigIntegerXorTest { public class BigIntegerXorTest {
/** /**
* Xor for zero and a positive number * Xor for zero and a positive number

View File

@ -24,10 +24,8 @@ import java.net.URLEncoder;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class URLDecoderTest { public class URLDecoderTest {
@Test @Test

View File

@ -24,10 +24,8 @@ import java.net.URLEncoder;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class URLEncoderTest { public class URLEncoderTest {
@Test @Test

View File

@ -31,10 +31,8 @@ import java.net.URLStreamHandlerFactory;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class URLTest { public class URLTest {
URL u; URL u;
URL u1; URL u1;

View File

@ -31,10 +31,8 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.classlib.java.lang.DoubleTest; import org.teavm.classlib.java.lang.DoubleTest;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class ByteBufferTest { public class ByteBufferTest {
@Test @Test
public void allocatesDirect() { public void allocatesDirect() {

View File

@ -27,10 +27,8 @@ import java.nio.ShortBuffer;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class ByteBufferWrapperTest { public class ByteBufferWrapperTest {
@Test @Test
public void wrapsIntoShortBuffer() { public void wrapsIntoShortBuffer() {

View File

@ -28,10 +28,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class CharBufferTest { public class CharBufferTest {
@Test @Test
public void allocates() { public void allocates() {

View File

@ -27,10 +27,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class DoubleBufferTest { public class DoubleBufferTest {
@Test @Test
public void allocatesSimple() { public void allocatesSimple() {

View File

@ -27,10 +27,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class FloatBufferTest { public class FloatBufferTest {
@Test @Test
public void allocatesSimple() { public void allocatesSimple() {

View File

@ -28,10 +28,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class IntBufferTest { public class IntBufferTest {
@Test @Test
public void allocatesSimple() { public void allocatesSimple() {

View File

@ -27,10 +27,8 @@ import java.nio.ReadOnlyBufferException;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class LongBufferTest { public class LongBufferTest {
@Test @Test
public void allocatesSimple() { public void allocatesSimple() {

View File

@ -27,10 +27,8 @@ import java.nio.ShortBuffer;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class ShortBufferTest { public class ShortBufferTest {
@Test @Test
public void allocatesSimple() { public void allocatesSimple() {

View File

@ -20,10 +20,8 @@ import java.nio.charset.StandardCharsets;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class AsciiTest { public class AsciiTest {
private static String hex = CharsetTestCommon.bytesToHex(convert(CharsetTestCommon.asciiText)); private static String hex = CharsetTestCommon.bytesToHex(convert(CharsetTestCommon.asciiText));

View File

@ -22,10 +22,8 @@ import java.nio.charset.StandardCharsets;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class Iso8859Test { public class Iso8859Test {
private static String hex = CharsetTestCommon.bytesToHex(convert(CharsetTestCommon.asciiText)); private static String hex = CharsetTestCommon.bytesToHex(convert(CharsetTestCommon.asciiText));

View File

@ -20,10 +20,8 @@ import java.nio.charset.StandardCharsets;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class UTF16Test { public class UTF16Test {
private static String hexLE = CharsetTestCommon.bytesToHex(convertLE(CharsetTestCommon.text)); private static String hexLE = CharsetTestCommon.bytesToHex(convertLE(CharsetTestCommon.text));
private static String hexBE = CharsetTestCommon.bytesToHex(convertBE(CharsetTestCommon.text)); private static String hexBE = CharsetTestCommon.bytesToHex(convertBE(CharsetTestCommon.text));

View File

@ -26,10 +26,8 @@ import java.util.Arrays;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class UTF8Test { public class UTF8Test {
private String hex = "" private String hex = ""
+ "D097D0B4D0B5D181D18C20D0B220D0BCD0BED0B5D0BC20D0BED0B1D18AD18FD181D0BDD0B5D0BDD0B8D0B820D18F20D0BED" + "D097D0B4D0B5D181D18C20D0B220D0BCD0BED0B5D0BC20D0BED0B1D18AD18FD181D0BDD0B5D0BDD0B8D0B820D18F20D0BED"

View File

@ -26,10 +26,8 @@ import java.util.TimeZone;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class DateFormatTest { public class DateFormatTest {
public DateFormatTest() { public DateFormatTest() {
TimeZone.setDefault(TimeZone.getTimeZone("GMT")); TimeZone.setDefault(TimeZone.getTimeZone("GMT"));

View File

@ -24,12 +24,14 @@ import java.text.ParseException;
import java.util.Locale; import java.util.Locale;
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.TeaVMProperties; import org.teavm.junit.TeaVMProperties;
import org.teavm.junit.TeaVMProperty; import org.teavm.junit.TeaVMProperty;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU")) @TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU"))
@EachTestCompiledSeparately
public class DecimalFormatParseTest { public class DecimalFormatParseTest {
private static DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.ENGLISH); private static DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.ENGLISH);

View File

@ -30,11 +30,9 @@ import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMProperties; import org.teavm.junit.TeaVMProperties;
import org.teavm.junit.TeaVMProperty; import org.teavm.junit.TeaVMProperty;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU")) @TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU"))
@WholeClassCompilation
public class DecimalFormatTest { public class DecimalFormatTest {
private static DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.ENGLISH); private static DecimalFormatSymbols symbols = new DecimalFormatSymbols(Locale.ENGLISH);

View File

@ -39,10 +39,8 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class MessageFormatTest { public class MessageFormatTest {
private MessageFormat format1; private MessageFormat format1;
private MessageFormat format2; private MessageFormat format2;

View File

@ -21,6 +21,7 @@ import java.util.Currency;
import java.util.Locale; import java.util.Locale;
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.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMProperties; import org.teavm.junit.TeaVMProperties;
import org.teavm.junit.TeaVMProperty; import org.teavm.junit.TeaVMProperty;
@ -28,6 +29,7 @@ import org.teavm.junit.TeaVMTestRunner;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU")) @TeaVMProperties(@TeaVMProperty(key = "java.util.Locale.available", value = "en, en_US, en_GB, ru, ru_RU"))
@EachTestCompiledSeparately
public class NumberFormatTest { public class NumberFormatTest {
@Test @Test
public void formatsNumber() { public void formatsNumber() {

View File

@ -27,10 +27,8 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.SkipJVM; import org.teavm.junit.SkipJVM;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class SimpleDateFormatTest { public class SimpleDateFormatTest {
public SimpleDateFormatTest() { public SimpleDateFormatTest() {
TimeZone.setDefault(TimeZone.getTimeZone("GMT")); TimeZone.setDefault(TimeZone.getTimeZone("GMT"));

View File

@ -52,7 +52,6 @@ import java.time.Instant;
import java.time.ZoneId; import java.time.ZoneId;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -60,7 +59,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestClock { public class TestClock {
static class MockInstantClock extends Clock { static class MockInstantClock extends Clock {

View File

@ -55,7 +55,6 @@ import java.time.ZoneId;
import java.time.ZoneOffset; import java.time.ZoneOffset;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -63,7 +62,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestClockFixed extends AbstractTest { public class TestClockFixed extends AbstractTest {
private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow"); private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow");

View File

@ -56,7 +56,6 @@ import java.time.ZoneId;
import java.time.ZoneOffset; import java.time.ZoneOffset;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -64,7 +63,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestClockOffset extends AbstractTest { public class TestClockOffset extends AbstractTest {
private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow"); private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow");

View File

@ -55,7 +55,6 @@ import java.time.ZoneId;
import java.time.ZoneOffset; import java.time.ZoneOffset;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -63,7 +62,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestClockSystem extends AbstractTest { public class TestClockSystem extends AbstractTest {
private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow"); private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow");

View File

@ -57,7 +57,6 @@ import java.time.ZoneOffset;
import java.time.ZonedDateTime; import java.time.ZonedDateTime;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -65,7 +64,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestClockTick extends AbstractTest { public class TestClockTick extends AbstractTest {
private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow"); private static final ZoneId MOSCOW = ZoneId.of("Europe/Moscow");

View File

@ -49,7 +49,6 @@ 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.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
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;
@ -59,7 +58,6 @@ import org.threeten.bp.jdk8.Jdk8Methods;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestDateTimesImplementation { public class TestDateTimesImplementation {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------

View File

@ -70,7 +70,6 @@ import java.util.List;
import java.util.Locale; import java.util.Locale;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -80,7 +79,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestDayOfWeek extends AbstractDateTimeTest { public class TestDayOfWeek extends AbstractDateTimeTest {
@BeforeMethod @BeforeMethod

View File

@ -65,7 +65,6 @@ import java.time.temporal.TemporalUnit;
import java.util.Locale; import java.util.Locale;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -74,7 +73,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestDuration extends AbstractTest { public class TestDuration extends AbstractTest {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------

View File

@ -74,7 +74,6 @@ import java.util.List;
import java.util.Locale; import java.util.Locale;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -83,7 +82,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestInstant extends AbstractDateTimeTest { public class TestInstant extends AbstractDateTimeTest {
private static final long MIN_SECOND = Instant.MIN.getEpochSecond(); private static final long MIN_SECOND = Instant.MIN.getEpochSecond();

View File

@ -100,7 +100,6 @@ import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.classlib.java.time.temporal.MockFieldNoValue; import org.teavm.classlib.java.time.temporal.MockFieldNoValue;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -110,7 +109,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestLocalDate extends AbstractDateTimeTest { public class TestLocalDate extends AbstractDateTimeTest {
private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1);

View File

@ -116,7 +116,6 @@ import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.classlib.java.time.temporal.MockFieldNoValue; import org.teavm.classlib.java.time.temporal.MockFieldNoValue;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -126,7 +125,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestLocalDateTime extends AbstractDateTimeTest { public class TestLocalDateTime extends AbstractDateTimeTest {
private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1);

View File

@ -108,7 +108,6 @@ import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.classlib.java.time.temporal.MockFieldNoValue; import org.teavm.classlib.java.time.temporal.MockFieldNoValue;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -118,7 +117,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestLocalTime extends AbstractDateTimeTest { public class TestLocalTime extends AbstractDateTimeTest {
private LocalTime test12x30x40x987654321; private LocalTime test12x30x40x987654321;

View File

@ -69,7 +69,6 @@ import java.util.List;
import java.util.Locale; import java.util.Locale;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -78,7 +77,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestMonth extends AbstractDateTimeTest { public class TestMonth extends AbstractDateTimeTest {
private static final int MAX_LENGTH = 12; private static final int MAX_LENGTH = 12;

View File

@ -111,7 +111,6 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -121,7 +120,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestOffsetDateTime extends AbstractDateTimeTest { public class TestOffsetDateTime extends AbstractDateTimeTest {
private static final ZoneId ZONE_PARIS = ZoneId.of("Europe/Paris"); private static final ZoneId ZONE_PARIS = ZoneId.of("Europe/Paris");

View File

@ -57,7 +57,6 @@ import java.time.Year;
import java.time.ZoneOffset; import java.time.ZoneOffset;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -65,7 +64,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestOffsetDateTimeInstants { public class TestOffsetDateTimeInstants {
private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1);

View File

@ -96,7 +96,6 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -106,7 +105,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestOffsetTime extends AbstractDateTimeTest { public class TestOffsetTime extends AbstractDateTimeTest {
private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1);

View File

@ -53,7 +53,6 @@ import java.time.Period;
import org.junit.Ignore; import org.junit.Ignore;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -62,7 +61,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestPeriod extends AbstractTest { public class TestPeriod extends AbstractTest {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// factories // factories

View File

@ -70,7 +70,6 @@ import java.util.SimpleTimeZone;
import java.util.TimeZone; import java.util.TimeZone;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Ignore; import org.testng.annotations.Ignore;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -80,7 +79,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestZoneId extends AbstractTest { public class TestZoneId extends AbstractTest {
private static final ZoneId ZONE_PARIS = ZoneId.of("Europe/Paris"); private static final ZoneId ZONE_PARIS = ZoneId.of("Europe/Paris");

View File

@ -70,7 +70,6 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/** /**
@ -78,7 +77,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestZoneOffset extends AbstractDateTimeTest { public class TestZoneOffset extends AbstractDateTimeTest {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------

View File

@ -113,7 +113,6 @@ import java.util.List;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.classlib.java.time.temporal.MockFieldNoValue; import org.teavm.classlib.java.time.temporal.MockFieldNoValue;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -123,7 +122,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestZonedDateTime extends AbstractDateTimeTest { public class TestZonedDateTime extends AbstractDateTimeTest {
private static final ZoneOffset OFFSET_0100 = ZoneOffset.ofHours(1); private static final ZoneOffset OFFSET_0100 = ZoneOffset.ofHours(1);

View File

@ -72,7 +72,6 @@ import java.util.Locale;
import java.util.Map; import java.util.Map;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.Assert; import org.testng.Assert;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -82,7 +81,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestChronoLocalDate { public class TestChronoLocalDate {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// regular data factory for names and descriptions of available calendars // regular data factory for names and descriptions of available calendars

View File

@ -73,7 +73,6 @@ import java.util.Locale;
import java.util.Map; import java.util.Map;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.Assert; import org.testng.Assert;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -83,7 +82,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestChronoLocalDateTime { public class TestChronoLocalDateTime {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// regular data factory for names and descriptions of available calendars // regular data factory for names and descriptions of available calendars

View File

@ -74,7 +74,6 @@ import java.util.Locale;
import java.util.Map; import java.util.Map;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.teavm.junit.TeaVMTestRunner; import org.teavm.junit.TeaVMTestRunner;
import org.teavm.junit.WholeClassCompilation;
import org.testng.Assert; import org.testng.Assert;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -84,7 +83,6 @@ import org.testng.annotations.Test;
*/ */
@Test @Test
@RunWith(TeaVMTestRunner.class) @RunWith(TeaVMTestRunner.class)
@WholeClassCompilation
public class TestChronoZonedDateTime { public class TestChronoZonedDateTime {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// regular data factory for names and descriptions of available calendars // regular data factory for names and descriptions of available calendars

Some files were not shown because too many files have changed in this diff Show More