Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringSubstringTest.java92 ByteString flatString = ByteString.copyFromUtf8(testString); in testToString() local
93 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testToString()
95 flatString.hashCode(), unicode.hashCode()); in testToString()
122 ByteString flatString = ByteString.copyFromUtf8(testString); in testCharsetToString() local
123 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testCharsetToString()
125 flatString.hashCode(), unicode.hashCode()); in testCharsetToString()
DRopeByteStringTest.java115 ByteString flatString = ByteString.copyFromUtf8(testString); in testToString() local
116 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testToString()
118 flatString.hashCode(), unicode.hashCode()); in testToString()
141 ByteString flatString = ByteString.copyFromUtf8(testString); in testCharsetToString() local
142 assertEquals(classUnderTest + " string must equal the flat string", flatString, unicode); in testCharsetToString()
144 flatString.hashCode(), unicode.hashCode()); in testCharsetToString()