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

Public Member Functions

void testGetTreeDepth ()
 
void testBalance ()
 
void testToString () throws UnsupportedEncodingException
 
void testCharsetToString ()
 
void testToString_returnsCanonicalEmptyString ()
 
void testToString_raisesException ()
 
void testJavaSerialization () throws Exception
 
- Public Member Functions inherited from com.google.protobuf.LiteralByteStringTest
void testExpectedType ()
 
void testByteAt ()
 
void testByteIterator ()
 
void testByteIterable ()
 
void testSize ()
 
void testGetTreeDepth ()
 
void testIsBalanced ()
 
void testCopyTo_ByteArrayOffsetLength ()
 
void testCopyTo_ByteArrayOffsetLengthErrors ()
 
void testCopyTo_ByteBuffer ()
 
void testMarkSupported ()
 
void testMarkAndReset () throws IOException
 
void testAsReadOnlyByteBuffer ()
 
void testAsReadOnlyByteBufferList ()
 
void testToByteArray ()
 
void testWriteTo () throws IOException
 
void testWriteToShouldNotExposeInternalBufferToOutputStream () throws IOException
 
void testWriteToInternalShouldExposeInternalBufferToOutputStream () throws IOException
 
void testWriteToShouldExposeInternalBufferToByteOutput () throws IOException
 
void testNewOutput () throws IOException
 
void testToString () throws UnsupportedEncodingException
 
void testCharsetToString ()
 
void testToString_returnsCanonicalEmptyString ()
 
void testToString_raisesException ()
 
void testEquals ()
 
void testHashCode ()
 
void testPeekCachedHashCode ()
 
void testPartialHash ()
 
void testNewInput () throws IOException
 
void testNewInput_skip () throws IOException
 
void testNewCodedInput () throws IOException
 
void testConcat_empty ()
 
void testJavaSerialization () throws Exception
 

Protected Member Functions

void setUp () throws Exception
 
- Protected Member Functions inherited from com.google.protobuf.LiteralByteStringTest
void setUp () throws Exception
 
String getActualClassName (Object object)
 

Additional Inherited Members

- Protected Attributes inherited from com.google.protobuf.LiteralByteStringTest
String classUnderTest
 
byte [] referenceBytes
 
ByteString stringUnderTest
 
int expectedHashCode
 
- Static Protected Attributes inherited from com.google.protobuf.LiteralByteStringTest
static final String UTF_8 = "UTF-8"
 

Detailed Description

This class tests RopeByteString by inheriting the tests from LiteralByteStringTest. Only a couple of methods are overridden.

A full test of the result of RopeByteString#substring(int, int) is found in the separate class RopeByteStringSubstringTest.

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

Member Function Documentation

◆ setUp()

void com.google.protobuf.RopeByteStringTest.setUp ( ) throws Exception
inlineprotected

◆ testBalance()

void com.google.protobuf.RopeByteStringTest.testBalance ( )
inline

◆ testCharsetToString()

void com.google.protobuf.RopeByteStringTest.testCharsetToString ( )
inline

◆ testGetTreeDepth()

void com.google.protobuf.RopeByteStringTest.testGetTreeDepth ( )
inline

◆ testJavaSerialization()

void com.google.protobuf.RopeByteStringTest.testJavaSerialization ( ) throws Exception
inline

◆ testToString()

void com.google.protobuf.RopeByteStringTest.testToString ( ) throws UnsupportedEncodingException
inline

◆ testToString_raisesException()

void com.google.protobuf.RopeByteStringTest.testToString_raisesException ( )
inline

◆ testToString_returnsCanonicalEmptyString()

void com.google.protobuf.RopeByteStringTest.testToString_returnsCanonicalEmptyString ( )
inline

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