Home
last modified time | relevance | path

Searched refs:DIRECT_NIO_FACTORY (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java33 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()
DIsValidUtf8TestUtil.java91 static final ByteStringFactory DIRECT_NIO_FACTORY = new ByteStringFactory() { field in IsValidUtf8TestUtil