Searched refs:LITERAL_FACTORY (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 37 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()
|
D | IsValidUtf8TestUtil.java | 68 static final ByteStringFactory LITERAL_FACTORY = new ByteStringFactory() { field in IsValidUtf8TestUtil
|