Public Member Functions | Protected Member Functions | List of all members
com.google.protobuf.RopeByteStringTest Class Reference
Inheritance diagram for com.google.protobuf.RopeByteStringTest:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from com.google.protobuf.LiteralByteStringTest
String classUnderTest
 
int expectedHashCode
 
byte[] referenceBytes
 
ByteString stringUnderTest
 
- 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 {}. 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)

Definition at line 51 of file core/src/test/java/com/google/protobuf/RopeByteStringTest.java.

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

◆ testMinLengthByDepth()

void com.google.protobuf.RopeByteStringTest.testMinLengthByDepth ( )
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:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07