Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java37 import static com.google.protobuf.IsValidUtf8TestUtil.LITERAL_FACTORY;
64 testBytes(LITERAL_FACTORY, 1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_1Byte()
73 testBytes(LITERAL_FACTORY, 2, IsValidUtf8TestUtil.EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_2Bytes()
84 testBytes(LITERAL_FACTORY, 3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT); in testIsValidUtf8_3Bytes()
163 assertValidUtf8(LITERAL_FACTORY, bytes, false); in assertValidUtf8()
169 assertValidUtf8(LITERAL_FACTORY, bytes, true); in assertInvalidUtf8()
DIsValidUtf8TestUtil.java68 static final ByteStringFactory LITERAL_FACTORY = new ByteStringFactory() { field in IsValidUtf8TestUtil