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

Public Member Functions

void testAsReadOnlyByteBuffer ()
 
void testAsReadOnlyByteBufferList ()
 
void testByteAt ()
 
void testByteIterable ()
 
void testByteIterator ()
 
void testConcat_empty ()
 
void testCopyTo_ByteArrayOffsetLength ()
 
void testCopyTo_ByteArrayOffsetLengthErrors ()
 
void testCopyTo_ByteBuffer ()
 
void testHashCode ()
 
void testNewCodedInput () throws IOException
 
void testNewInput () throws IOException
 
void testNewInput_skip () throws IOException
 
void testNewOutput () throws IOException
 
void testSize ()
 
void testToByteArray ()
 
void testWriteTo () throws IOException
 
void testWriteTo_mutating () throws IOException
 

Protected Member Functions

String getActualClassName (Object object)
 
void setUp () throws Exception
 

Protected Attributes

String classUnderTest
 
int expectedHashCode
 
byte[] referenceBytes
 
ByteString stringUnderTest
 

Static Protected Attributes

static final String UTF_8 = "UTF-8"
 

Detailed Description

Test LiteralByteString by setting up a reference string in setUp(). This class is designed to be extended for testing extensions of LiteralByteString such as BoundedByteString, see BoundedByteStringTest.

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

Definition at line 53 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/LiteralByteStringTest.java.

Member Function Documentation

◆ getActualClassName()

String com.google.protobuf.test.LiteralByteStringTest.getActualClassName ( Object  object)
inlineprotected

◆ setUp()

void com.google.protobuf.test.LiteralByteStringTest.setUp ( ) throws Exception
inlineprotected

◆ testAsReadOnlyByteBuffer()

void com.google.protobuf.test.LiteralByteStringTest.testAsReadOnlyByteBuffer ( )
inline

◆ testAsReadOnlyByteBufferList()

void com.google.protobuf.test.LiteralByteStringTest.testAsReadOnlyByteBufferList ( )
inline

◆ testByteAt()

void com.google.protobuf.test.LiteralByteStringTest.testByteAt ( )
inline

◆ testByteIterable()

void com.google.protobuf.test.LiteralByteStringTest.testByteIterable ( )
inline

◆ testByteIterator()

void com.google.protobuf.test.LiteralByteStringTest.testByteIterator ( )
inline

◆ testConcat_empty()

void com.google.protobuf.test.LiteralByteStringTest.testConcat_empty ( )
inline

◆ testCopyTo_ByteArrayOffsetLength()

void com.google.protobuf.test.LiteralByteStringTest.testCopyTo_ByteArrayOffsetLength ( )
inline

◆ testCopyTo_ByteArrayOffsetLengthErrors()

void com.google.protobuf.test.LiteralByteStringTest.testCopyTo_ByteArrayOffsetLengthErrors ( )
inline

◆ testCopyTo_ByteBuffer()

void com.google.protobuf.test.LiteralByteStringTest.testCopyTo_ByteBuffer ( )
inline

◆ testHashCode()

void com.google.protobuf.test.LiteralByteStringTest.testHashCode ( )
inline

◆ testNewCodedInput()

void com.google.protobuf.test.LiteralByteStringTest.testNewCodedInput ( ) throws IOException
inline

◆ testNewInput()

void com.google.protobuf.test.LiteralByteStringTest.testNewInput ( ) throws IOException
inline

◆ testNewInput_skip()

void com.google.protobuf.test.LiteralByteStringTest.testNewInput_skip ( ) throws IOException
inline

◆ testNewOutput()

void com.google.protobuf.test.LiteralByteStringTest.testNewOutput ( ) throws IOException
inline

◆ testSize()

void com.google.protobuf.test.LiteralByteStringTest.testSize ( )
inline

◆ testToByteArray()

void com.google.protobuf.test.LiteralByteStringTest.testToByteArray ( )
inline

◆ testWriteTo()

void com.google.protobuf.test.LiteralByteStringTest.testWriteTo ( ) throws IOException
inline

◆ testWriteTo_mutating()

void com.google.protobuf.test.LiteralByteStringTest.testWriteTo_mutating ( ) throws IOException
inline

Member Data Documentation

◆ classUnderTest

String com.google.protobuf.test.LiteralByteStringTest.classUnderTest
protected

◆ expectedHashCode

int com.google.protobuf.test.LiteralByteStringTest.expectedHashCode
protected

◆ referenceBytes

byte [] com.google.protobuf.test.LiteralByteStringTest.referenceBytes
protected

◆ stringUnderTest

ByteString com.google.protobuf.test.LiteralByteStringTest.stringUnderTest
protected

◆ UTF_8

final String com.google.protobuf.test.LiteralByteStringTest.UTF_8 = "UTF-8"
staticprotected

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


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