From 2cd397c81c1dbc88ca871b9546fe4c88e89a78a9 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 13 Oct 2014 21:24:18 +0400 Subject: [PATCH] Add some test cases for ByteBuffer --- teavm-classlib/pom.xml | 2 - .../teavm/classlib/java/nio/TByteBuffer.java | 13 +- .../classlib/java/nio/TByteBufferImpl.java | 15 +- .../classlib/java/nio/ByteBufferTest.java | 163 ++++++++++++++++++ 4 files changed, 181 insertions(+), 12 deletions(-) create mode 100644 teavm-classlib/src/test/java/org/teavm/classlib/java/nio/ByteBufferTest.java diff --git a/teavm-classlib/pom.xml b/teavm-classlib/pom.xml index 4c67e2cf4..be2629a81 100644 --- a/teavm-classlib/pom.xml +++ b/teavm-classlib/pom.xml @@ -85,8 +85,6 @@ process-test-classes false - true - true en, en_US, en_GB, ru, ru_RU diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/nio/TByteBuffer.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/nio/TByteBuffer.java index e69cb6265..d576c13f2 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/nio/TByteBuffer.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/nio/TByteBuffer.java @@ -11,23 +11,30 @@ public abstract class TByteBuffer extends TBuffer implements TComparable