Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java553 ByteString compositeSubstring = listString.substring(from, to); in testCompositeSubstring() local
554 byte[] substringBytes = compositeSubstring.toByteArray(); in testCompositeSubstring()
563 stillEqual = referenceBytes[from + i] == compositeSubstring.byteAt(i); in testCompositeSubstring()
569 compositeSubstring.equals(literalSubstring)); in testCompositeSubstring()
571 literalSubstring.equals(compositeSubstring)); in testCompositeSubstring()
574 literalSubstring.hashCode(), compositeSubstring.hashCode()); in testCompositeSubstring()
577 compositeSubstring.equals(literalSubstring.substring(0, literalSubstring.size() - 1))); in testCompositeSubstring()