Public Member Functions | |
void | setUp () throws Exception |
void | testCaching () |
void | testCaching () |
void | testNoStringCachingIfOnlyBytesAccessed () throws Exception |
void | testNoStringCachingIfOnlyBytesAccessed () throws Exception |
void | testParseAndSerialize () throws InvalidProtocolBufferException |
void | testParseAndSerialize () throws InvalidProtocolBufferException |
void | testParseAndWrite () throws IOException |
void | testParseAndWrite () throws IOException |
Protected Member Functions | |
void | setUp () throws Exception |
Private Attributes | |
ByteString | encodedTestAllTypes |
Static Private Attributes | |
static final ByteString | TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8 |
Tests to make sure the lazy conversion of UTF8-encoded byte arrays to strings works correctly.
Tests to make sure the lazy conversion of UTF8-encoded byte arrays to strings works correctly.
Definition at line 42 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inlineprotected |
Definition at line 54 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 59 of file protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 87 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 98 of file protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 112 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 124 of file protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Tests that an invalid UTF8 string will roundtrip through a parse and serialization.
Definition at line 66 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Tests that an invalid UTF8 string will roundtrip through a parse and serialization.
Definition at line 71 of file protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 77 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
inline |
Definition at line 85 of file protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
private |
Definition at line 51 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.
|
staticprivate |
Definition at line 44 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java.