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

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.

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

Member Function Documentation

◆ setUp() [1/2]

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

◆ setUp() [2/2]

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

◆ testBalance() [1/2]

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

◆ testBalance() [2/2]

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

◆ testCharsetToString() [1/2]

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

◆ testCharsetToString() [2/2]

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

◆ testGetTreeDepth() [1/2]

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

◆ testGetTreeDepth() [2/2]

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

◆ testJavaSerialization() [1/2]

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

◆ testJavaSerialization() [2/2]

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

◆ testMinLength()

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

◆ testMinLengthByDepth()

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

◆ testToString() [1/2]

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

◆ testToString() [2/2]

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

◆ testToString_raisesException() [1/2]

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

◆ testToString_raisesException() [2/2]

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

◆ testToString_returnsCanonicalEmptyString() [1/2]

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

◆ testToString_returnsCanonicalEmptyString() [2/2]

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07