Searched refs:HEAP_NIO_FACTORY (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 36 import static com.google.protobuf.IsValidUtf8TestUtil.HEAP_NIO_FACTORY; 65 testBytes(HEAP_NIO_FACTORY, 1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_1Byte() 74 testBytes(HEAP_NIO_FACTORY, 2, IsValidUtf8TestUtil.EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_2Bytes() 85 testBytes(HEAP_NIO_FACTORY, 3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_3Bytes() 164 assertValidUtf8(HEAP_NIO_FACTORY, bytes, false); in assertValidUtf8() 170 assertValidUtf8(HEAP_NIO_FACTORY, bytes, true); in assertInvalidUtf8()
|
D | IsValidUtf8TestUtil.java | 75 static final ByteStringFactory HEAP_NIO_FACTORY = new ByteStringFactory() { field in IsValidUtf8TestUtil
|