Home
last modified time | relevance | path

Searched refs:unmappableForLength (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCoderResultTest.java101 assertTrue(CoderResult.unmappableForLength(1).isError()); in testIsError()
112 assertFalse(CoderResult.unmappableForLength(1).isMalformed()); in testIsMalformed()
123 assertTrue(CoderResult.unmappableForLength(1).isUnmappable()); in testIsUnmappable()
134 assertFalse(CoderResult.unmappableForLength(1).isOverflow()); in testIsOverflow()
145 assertFalse(CoderResult.unmappableForLength(1).isUnderflow()); in testIsUnderflow()
167 assertEquals(CoderResult.unmappableForLength(1).length(), 1); in testLength()
180 .unmappableForLength(1)); in testMalformedForLength()
202 assertNotNull(CoderResult.unmappableForLength(Integer.MAX_VALUE)); in testUnmappableForLength()
203 assertNotNull(CoderResult.unmappableForLength(1)); in testUnmappableForLength()
204 assertSame(CoderResult.unmappableForLength(1), CoderResult in testUnmappableForLength()
[all …]
DCharsetDecoderTest.java818 return CoderResult.unmappableForLength("unmap".length()); in decodeLoop()
DCharsetEncoderTest.java1062 return CoderResult.unmappableForLength("unmap".length()); in encodeLoop()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java254 public static CoderResult unmappableForLength(int length) { in unmappableForLength() method in CoderResult