webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
com.google.protobuf.ByteStringTest Class Reference
Inheritance diagram for com.google.protobuf.ByteStringTest:

Public Member Functions

void testSubstring_BeginIndex ()
 
void testCopyFrom_BytesOffsetSize ()
 
void testCopyFrom_Bytes ()
 
void testCopyFrom_ByteBufferSize ()
 
void testCopyFrom_ByteBuffer ()
 
void testCopyFrom_StringEncoding ()
 
void testCopyFrom_Utf8 ()
 
void testCopyFrom_Iterable ()
 
void testCopyTo_TargetOffset ()
 
void testReadFrom_emptyStream () throws IOException
 
void testReadFrom_smallStream () throws IOException
 
void testReadFrom_mutating () throws IOException
 
void testReadFrom_mediumStream () throws IOException
 
void testReadFrom_largeStream () throws IOException
 
void testReadFrom_byteBoundaries () throws IOException
 
void testReadFrom_IOExceptions ()
 
void testReadFrom_reluctantStream () throws IOException
 
void testReadFrom_available () throws IOException
 
void testToStringUtf8 ()
 
void testNewOutput_InitialCapacity () throws IOException
 
void testNewOutput_ArrayWrite ()
 
void testNewOutput_WriteChar ()
 
void testNewOutput_Mixed ()
 
void testNewOutputEmpty ()
 
void testNewOutput_Mutating () throws IOException
 
void testNewCodedBuilder () throws IOException
 
void testSubstringParity ()
 
void testCompositeSubstring ()
 
void testCopyFromList ()
 
void testConcat ()
 
void testConcat_empty ()
 
void testStartsWith ()
 
void testEndsWith ()
 
void testWriteToOutputStream () throws Exception
 
void testByteArrayCopier () throws Exception
 

Detailed Description

Test methods with implementations in ByteString, plus do some top-level "integration" tests.

Author
carla.nosp@m.nton.nosp@m.@goog.nosp@m.le.c.nosp@m.om (Carl Haverl)

Member Function Documentation

◆ testByteArrayCopier()

void com.google.protobuf.ByteStringTest.testByteArrayCopier ( ) throws Exception
inline

Tests ByteString uses Arrays based byte copier when running under Hotstop VM.

◆ testCompositeSubstring()

void com.google.protobuf.ByteStringTest.testCompositeSubstring ( )
inline

◆ testConcat()

void com.google.protobuf.ByteStringTest.testConcat ( )
inline

◆ testConcat_empty()

void com.google.protobuf.ByteStringTest.testConcat_empty ( )
inline

Test the Rope implementation can deal with Empty nodes, even though we guard against them. See also LiteralByteStringTest#testConcat_empty().

◆ testCopyFrom_ByteBuffer()

void com.google.protobuf.ByteStringTest.testCopyFrom_ByteBuffer ( )
inline

◆ testCopyFrom_ByteBufferSize()

void com.google.protobuf.ByteStringTest.testCopyFrom_ByteBufferSize ( )
inline

◆ testCopyFrom_Bytes()

void com.google.protobuf.ByteStringTest.testCopyFrom_Bytes ( )
inline

◆ testCopyFrom_BytesOffsetSize()

void com.google.protobuf.ByteStringTest.testCopyFrom_BytesOffsetSize ( )
inline

◆ testCopyFrom_Iterable()

void com.google.protobuf.ByteStringTest.testCopyFrom_Iterable ( )
inline

◆ testCopyFrom_StringEncoding()

void com.google.protobuf.ByteStringTest.testCopyFrom_StringEncoding ( )
inline

◆ testCopyFrom_Utf8()

void com.google.protobuf.ByteStringTest.testCopyFrom_Utf8 ( )
inline

◆ testCopyFromList()

void com.google.protobuf.ByteStringTest.testCopyFromList ( )
inline

◆ testCopyTo_TargetOffset()

void com.google.protobuf.ByteStringTest.testCopyTo_TargetOffset ( )
inline

◆ testEndsWith()

void com.google.protobuf.ByteStringTest.testEndsWith ( )
inline

◆ testNewCodedBuilder()

void com.google.protobuf.ByteStringTest.testNewCodedBuilder ( ) throws IOException
inline

◆ testNewOutput_ArrayWrite()

void com.google.protobuf.ByteStringTest.testNewOutput_ArrayWrite ( )
inline

◆ testNewOutput_InitialCapacity()

void com.google.protobuf.ByteStringTest.testNewOutput_InitialCapacity ( ) throws IOException
inline

◆ testNewOutput_Mixed()

void com.google.protobuf.ByteStringTest.testNewOutput_Mixed ( )
inline

◆ testNewOutput_Mutating()

void com.google.protobuf.ByteStringTest.testNewOutput_Mutating ( ) throws IOException
inline

◆ testNewOutput_WriteChar()

void com.google.protobuf.ByteStringTest.testNewOutput_WriteChar ( )
inline

◆ testNewOutputEmpty()

void com.google.protobuf.ByteStringTest.testNewOutputEmpty ( )
inline

◆ testReadFrom_available()

void com.google.protobuf.ByteStringTest.testReadFrom_available ( ) throws IOException
inline

◆ testReadFrom_byteBoundaries()

void com.google.protobuf.ByteStringTest.testReadFrom_byteBoundaries ( ) throws IOException
inline

◆ testReadFrom_emptyStream()

void com.google.protobuf.ByteStringTest.testReadFrom_emptyStream ( ) throws IOException
inline

◆ testReadFrom_IOExceptions()

void com.google.protobuf.ByteStringTest.testReadFrom_IOExceptions ( )
inline

◆ testReadFrom_largeStream()

void com.google.protobuf.ByteStringTest.testReadFrom_largeStream ( ) throws IOException
inline

◆ testReadFrom_mediumStream()

void com.google.protobuf.ByteStringTest.testReadFrom_mediumStream ( ) throws IOException
inline

◆ testReadFrom_mutating()

void com.google.protobuf.ByteStringTest.testReadFrom_mutating ( ) throws IOException
inline

◆ testReadFrom_reluctantStream()

void com.google.protobuf.ByteStringTest.testReadFrom_reluctantStream ( ) throws IOException
inline

◆ testReadFrom_smallStream()

void com.google.protobuf.ByteStringTest.testReadFrom_smallStream ( ) throws IOException
inline

◆ testStartsWith()

void com.google.protobuf.ByteStringTest.testStartsWith ( )
inline

◆ testSubstring_BeginIndex()

void com.google.protobuf.ByteStringTest.testSubstring_BeginIndex ( )
inline

◆ testSubstringParity()

void com.google.protobuf.ByteStringTest.testSubstringParity ( )
inline

◆ testToStringUtf8()

void com.google.protobuf.ByteStringTest.testToStringUtf8 ( )
inline

◆ testWriteToOutputStream()

void com.google.protobuf.ByteStringTest.testWriteToOutputStream ( ) throws Exception
inline

The documentation for this class was generated from the following file: