Tests to make sure the lazy conversion of UTF8-encoded byte arrays to strings works correctly.
- Author
- jonp@.nosp@m.goog.nosp@m.le.co.nosp@m.m (Jon Perlow)
◆ setUp()
void com.google.protobuf.LazyStringEndToEndTest.setUp |
( |
| ) |
throws Exception |
|
inlineprotected |
◆ testCaching()
void com.google.protobuf.LazyStringEndToEndTest.testCaching |
( |
| ) |
|
|
inline |
◆ testNoStringCachingIfOnlyBytesAccessed()
void com.google.protobuf.LazyStringEndToEndTest.testNoStringCachingIfOnlyBytesAccessed |
( |
| ) |
throws Exception |
|
inline |
◆ testParseAndSerialize()
Tests that an invalid UTF8 string will roundtrip through a parse and serialization.
◆ testParseAndWrite()
void com.google.protobuf.LazyStringEndToEndTest.testParseAndWrite |
( |
| ) |
throws IOException |
|
inline |
The documentation for this class was generated from the following file: