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

Public Member Functions

void testToString () throws UnsupportedEncodingException
 
void testCharsetToString ()
 
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 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)

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: