Home
last modified time | relevance | path

Searched refs:MockCharset (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java306 static MockCharset charset1 = new MockCharset("mockCharset00",
309 static MockCharset charset2 = new MockCharset("mockCharset10",
424 MockCharset c = new MockCharset(mockName, new String[] { "mock" }); in testConstructor_Normal()
434 new MockCharset("", new String[0]); in testConstructor_EmptyCanonicalName()
442 new MockCharset("-123", new String[] { "mock" }); in testConstructor_IllegalCanonicalName_Initial()
450 new MockCharset("1%%23", new String[] { "mock" }); in testConstructor_IllegalCanonicalName_Middle()
455 new MockCharset("1//23", new String[] { "mock" }); in testConstructor_IllegalCanonicalName_Middle()
463 MockCharset c = new MockCharset(null, new String[] { "mock" }); in testConstructor_NullCanonicalName()
470 MockCharset c = new MockCharset("mockChar", null); in testConstructor_NullAliases()
479 new MockCharset("mockChar", new String[] { "mock", null }); in testConstructor_NullAliase()
[all …]
DCharsetEncoderTest.java43 private static final Charset MOCKCS = new MockCharset("CharsetEncoderTest_mock", new String[0]);
136 ec = new MockCharsetEncoder(new MockCharset("mock", new String[0]), 1, in testCharsetEncoderCharsetfloatfloat()
1110 public static class MockCharset extends Charset { class in CharsetEncoderTest
1111 protected MockCharset(String arg0, String[] arg1) { in MockCharset() method in CharsetEncoderTest.MockCharset
DCharsetDecoderTest.java41 private static final Charset MOCKCS = new CharsetEncoderTest.MockCharset(
110 ec = new MockCharsetDecoder(new CharsetEncoderTest.MockCharset("mock", in testCharsetDecoder()