Searched refs:DIRECT_NIO_FACTORY (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 33 import static com.google.protobuf.IsValidUtf8TestUtil.DIRECT_NIO_FACTORY; 66 testBytes(DIRECT_NIO_FACTORY, 1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_1Byte() 75 testBytes(DIRECT_NIO_FACTORY, 2, IsValidUtf8TestUtil.EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_2Bytes() 86 testBytes(DIRECT_NIO_FACTORY, 3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_3Bytes() 165 assertValidUtf8(DIRECT_NIO_FACTORY, bytes, false); in assertValidUtf8() 171 assertValidUtf8(DIRECT_NIO_FACTORY, bytes, true); in assertInvalidUtf8()
|
D | IsValidUtf8TestUtil.java | 91 static final ByteStringFactory DIRECT_NIO_FACTORY = new ByteStringFactory() { field in IsValidUtf8TestUtil
|