Public Member Functions | |
void | testNoStringCachingIfOnlyBytesAccessed () throws Exception |
void | testParseAndSerialize () throws InvalidProtocolBufferException |
void | testParseAndWrite () throws IOException |
Protected Member Functions | |
void | setUp () throws Exception |
Private Attributes | |
ByteString | encodedTestAllTypes |
Static Private Attributes | |
static ByteString | TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8 |
Tests to make sure the lazy conversion of UTF8-encoded byte arrays to strings works correctly.
Definition at line 47 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/LazyStringEndToEndTest.java.
|
inlineprotected |
|
inline |
|
inline |
Tests that an invalid UTF8 string will roundtrip through a parse and serialization.
Definition at line 71 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/LazyStringEndToEndTest.java.
|
inline |
|
private |
|
staticprivate |
Definition at line 49 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/LazyStringEndToEndTest.java.