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

Public Member Functions

void testCharsetToString ()
 
void testJavaSerialization () throws Exception
 
void testToString () throws UnsupportedEncodingException
 
- 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 testGetTreeDepth ()
 
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 testToString_raisesException ()
 
void testToString_returnsCanonicalEmptyString ()
 
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 BoundedByteString, which extends LiteralByteString, by inheriting the tests from LiteralByteStringTest. The only method which is strange enough that it needs to be overridden here is testToString().

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

Definition at line 47 of file core/src/test/java/com/google/protobuf/BoundedByteStringTest.java.

Member Function Documentation

◆ setUp()

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

◆ testCharsetToString()

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

◆ testJavaSerialization()

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

◆ testToString()

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

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


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