webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
com.google.protobuf.LazyStringEndToEndTest Class Reference
Inheritance diagram for com.google.protobuf.LazyStringEndToEndTest:

Public Member Functions

void testParseAndSerialize () throws InvalidProtocolBufferException
 
void testParseAndWrite () throws IOException
 
void testCaching ()
 
void testNoStringCachingIfOnlyBytesAccessed () throws Exception
 

Protected Member Functions

void setUp () throws Exception
 

Detailed Description

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)

Member Function Documentation

◆ 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()

void com.google.protobuf.LazyStringEndToEndTest.testParseAndSerialize ( ) throws InvalidProtocolBufferException
inline

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: