Searched refs:assertValidUtf8 (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 98 assertValidUtf8(0xF0, 0xA4, 0xAD, 0xA2); in testIsValidUtf8_4BytesSamples() 143 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8() method in IsValidUtf8Test 162 private void assertValidUtf8(int... bytes) { in assertValidUtf8() method in IsValidUtf8Test 163 assertValidUtf8(LITERAL_FACTORY, bytes, false); in assertValidUtf8() 164 assertValidUtf8(HEAP_NIO_FACTORY, bytes, false); in assertValidUtf8() 165 assertValidUtf8(DIRECT_NIO_FACTORY, bytes, false); in assertValidUtf8() 169 assertValidUtf8(LITERAL_FACTORY, bytes, true); in assertInvalidUtf8() 170 assertValidUtf8(HEAP_NIO_FACTORY, bytes, true); in assertInvalidUtf8() 171 assertValidUtf8(DIRECT_NIO_FACTORY, bytes, true); in assertInvalidUtf8()
|