mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Update test annotations
This commit is contained in:
parent
db4418ae1d
commit
d850780d94
|
@ -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() {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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 = ""
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
|
@ -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('.', '-');
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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));
|
||||||
|
|
||||||
|
|
|
@ -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));
|
||||||
|
|
||||||
|
|
|
@ -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));
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user