◆ testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()
void com.google.protobuf.CodedOutputStreamTest.testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace |
( |
| ) |
throws Exception |
|
inline |
◆ testDifferentStringLengths()
void com.google.protobuf.CodedOutputStreamTest.testDifferentStringLengths |
( |
| ) |
throws Exception |
|
inline |
◆ testEncodeZigZag()
void com.google.protobuf.CodedOutputStreamTest.testEncodeZigZag |
( |
| ) |
throws Exception |
|
inline |
Test encodeZigZag32() and encodeZigZag64().
◆ testGetTotalBytesWritten()
void com.google.protobuf.CodedOutputStreamTest.testGetTotalBytesWritten |
( |
| ) |
throws Exception |
|
inline |
Test getTotalBytesWritten()
◆ testNioEncodersWithInitialOffsets()
void com.google.protobuf.CodedOutputStreamTest.testNioEncodersWithInitialOffsets |
( |
| ) |
throws Exception |
|
inline |
◆ testSerializeInvalidUtf8()
void com.google.protobuf.CodedOutputStreamTest.testSerializeInvalidUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testSerializeInvalidUtf8FollowedByOutOfSpace()
void com.google.protobuf.CodedOutputStreamTest.testSerializeInvalidUtf8FollowedByOutOfSpace |
( |
| ) |
throws Exception |
|
inline |
◆ testSerializeUtf8_MultipleSmallWrites()
void com.google.protobuf.CodedOutputStreamTest.testSerializeUtf8_MultipleSmallWrites |
( |
| ) |
throws Exception |
|
inline |
◆ testVarintRoundTrips()
void com.google.protobuf.CodedOutputStreamTest.testVarintRoundTrips |
( |
| ) |
throws Exception |
|
inline |
Checks that invariants are maintained for varint round trip input and output.
◆ testWriteByteArrayWithOffsets()
void com.google.protobuf.CodedOutputStreamTest.testWriteByteArrayWithOffsets |
( |
| ) |
throws Exception |
|
inline |
◆ testWriteByteBuffer()
void com.google.protobuf.CodedOutputStreamTest.testWriteByteBuffer |
( |
| ) |
throws Exception |
|
inline |
◆ testWriteLittleEndian()
void com.google.protobuf.CodedOutputStreamTest.testWriteLittleEndian |
( |
| ) |
throws Exception |
|
inline |
Tests writeRawLittleEndian32() and writeRawLittleEndian64().
◆ testWriteMessageWithNegativeEnumValue()
void com.google.protobuf.CodedOutputStreamTest.testWriteMessageWithNegativeEnumValue |
( |
| ) |
throws Exception |
|
inline |
Test writing a message containing a negative enum value. This used to fail because the size was not properly computed as a sign-extended varint.
◆ testWriteStringNoTag_fastpath()
void com.google.protobuf.CodedOutputStreamTest.testWriteStringNoTag_fastpath |
( |
| ) |
throws Exception |
|
inline |
◆ testWriteToByteBuffer()
void com.google.protobuf.CodedOutputStreamTest.testWriteToByteBuffer |
( |
| ) |
throws Exception |
|
inline |
◆ testWriteVarint()
void com.google.protobuf.CodedOutputStreamTest.testWriteVarint |
( |
| ) |
throws Exception |
|
inline |
Tests writeRawVarint32() and writeRawVarint64().
◆ testWriteWholeMessage()
void com.google.protobuf.CodedOutputStreamTest.testWriteWholeMessage |
( |
| ) |
throws Exception |
|
inline |
Tests writing a whole message with every field type.
◆ testWriteWholePackedFieldsMessage()
void com.google.protobuf.CodedOutputStreamTest.testWriteWholePackedFieldsMessage |
( |
| ) |
throws Exception |
|
inline |
Tests writing a whole message with every packed field type. Ensures the wire format of packed fields is compatible with C++.
The documentation for this class was generated from the following file: