aboutsummaryrefslogtreecommitdiffstats
path: root/guava-tests/test/com/google/common/base/CharsetsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava-tests/test/com/google/common/base/CharsetsTest.java')
-rw-r--r--guava-tests/test/com/google/common/base/CharsetsTest.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/guava-tests/test/com/google/common/base/CharsetsTest.java b/guava-tests/test/com/google/common/base/CharsetsTest.java
index e58bba6..67f2b07 100644
--- a/guava-tests/test/com/google/common/base/CharsetsTest.java
+++ b/guava-tests/test/com/google/common/base/CharsetsTest.java
@@ -16,9 +16,6 @@
package com.google.common.base;
-import com.google.common.annotations.GwtCompatible;
-import com.google.common.annotations.GwtIncompatible;
-
import junit.framework.TestCase;
import java.nio.charset.Charset;
@@ -28,15 +25,11 @@ import java.nio.charset.Charset;
*
* @author Mike Bostock
*/
-@GwtCompatible(emulated = true)
public class CharsetsTest extends TestCase {
-
- @GwtIncompatible("Non-UTF-8 Charset")
public void testUsAscii() {
assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII);
}
- @GwtIncompatible("Non-UTF-8 Charset")
public void testIso88591() {
assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1);
}
@@ -45,17 +38,14 @@ public class CharsetsTest extends TestCase {
assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8);
}
- @GwtIncompatible("Non-UTF-8 Charset")
public void testUtf16be() {
assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE);
}
- @GwtIncompatible("Non-UTF-8 Charset")
public void testUtf16le() {
assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE);
}
- @GwtIncompatible("Non-UTF-8 Charset")
public void testUtf16() {
assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16);
}