◆ assertDataConsumed()
void com.google.protobuf.CodedInputStreamTest.assertDataConsumed |
( |
String |
msg, |
|
|
byte[] |
data, |
|
|
CodedInputStream |
input |
|
) |
| throws IOException |
|
inlineprivate |
◆ assertMessageDepth()
void com.google.protobuf.CodedInputStreamTest.assertMessageDepth |
( |
String |
msg, |
|
|
TestRecursiveMessage |
message, |
|
|
int |
depth |
|
) |
| |
|
inlineprivate |
◆ assertReadLittleEndian32()
void com.google.protobuf.CodedInputStreamTest.assertReadLittleEndian32 |
( |
byte[] |
data, |
|
|
int |
value |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertReadLittleEndian64()
void com.google.protobuf.CodedInputStreamTest.assertReadLittleEndian64 |
( |
byte[] |
data, |
|
|
long |
value |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertReadVarint()
void com.google.protobuf.CodedInputStreamTest.assertReadVarint |
( |
byte[] |
data, |
|
|
long |
value |
|
) |
| throws Exception |
|
inlineprivate |
◆ assertReadVarintFailure()
◆ bytes()
byte [] com.google.protobuf.CodedInputStreamTest.bytes |
( |
int... |
bytesAsInts | ) |
|
|
inlineprivate |
◆ checkSizeLimitExceeded()
◆ getBigSerializedMessage()
static byte [] com.google.protobuf.CodedInputStreamTest.getBigSerializedMessage |
( |
| ) |
|
|
inlinestaticprivate |
◆ makeRecursiveMessage()
TestRecursiveMessage com.google.protobuf.CodedInputStreamTest.makeRecursiveMessage |
( |
int |
depth | ) |
|
|
inlineprivate |
◆ testCompatibleTypes()
void com.google.protobuf.CodedInputStreamTest.testCompatibleTypes |
( |
| ) |
throws Exception |
|
inline |
◆ testCurrentLimitExceeded()
void com.google.protobuf.CodedInputStreamTest.testCurrentLimitExceeded |
( |
| ) |
throws Exception |
|
inline |
◆ testDecodeZigZag()
void com.google.protobuf.CodedInputStreamTest.testDecodeZigZag |
( |
| ) |
throws Exception |
|
inline |
◆ testInvalidTag()
void com.google.protobuf.CodedInputStreamTest.testInvalidTag |
( |
| ) |
throws Exception |
|
inline |
◆ testIsAtEnd()
void com.google.protobuf.CodedInputStreamTest.testIsAtEnd |
( |
| ) |
throws Exception |
|
inline |
◆ testMaliciousInputStream()
void com.google.protobuf.CodedInputStreamTest.testMaliciousInputStream |
( |
| ) |
throws Exception |
|
inline |
◆ testMaliciousRecursion()
void com.google.protobuf.CodedInputStreamTest.testMaliciousRecursion |
( |
| ) |
throws Exception |
|
inline |
◆ testParseMessagesCloseTo2G()
void com.google.protobuf.CodedInputStreamTest.testParseMessagesCloseTo2G |
( |
| ) |
throws IOException |
|
inline |
◆ testParseMessagesOver2G()
void com.google.protobuf.CodedInputStreamTest.testParseMessagesOver2G |
( |
| ) |
throws IOException |
|
inline |
◆ testReadByteArray()
void com.google.protobuf.CodedInputStreamTest.testReadByteArray |
( |
| ) |
throws Exception |
|
inline |
◆ testReadByteBuffer()
void com.google.protobuf.CodedInputStreamTest.testReadByteBuffer |
( |
| ) |
throws Exception |
|
inline |
◆ testReadByteBufferAliasing()
void com.google.protobuf.CodedInputStreamTest.testReadByteBufferAliasing |
( |
| ) |
throws Exception |
|
inline |
◆ testReadFromSlice()
void com.google.protobuf.CodedInputStreamTest.testReadFromSlice |
( |
| ) |
throws Exception |
|
inline |
◆ testReadHugeBlob()
void com.google.protobuf.CodedInputStreamTest.testReadHugeBlob |
( |
| ) |
throws Exception |
|
inline |
◆ testReadLargeByteArrayFromInputStream()
void com.google.protobuf.CodedInputStreamTest.testReadLargeByteArrayFromInputStream |
( |
| ) |
throws Exception |
|
inline |
◆ testReadLargeByteStringFromInputStream()
void com.google.protobuf.CodedInputStreamTest.testReadLargeByteStringFromInputStream |
( |
| ) |
throws Exception |
|
inline |
◆ testReadLittleEndian()
void com.google.protobuf.CodedInputStreamTest.testReadLittleEndian |
( |
| ) |
throws Exception |
|
inline |
◆ testReadMaliciouslyLargeBlob()
void com.google.protobuf.CodedInputStreamTest.testReadMaliciouslyLargeBlob |
( |
| ) |
throws Exception |
|
inline |
◆ testReadString()
void com.google.protobuf.CodedInputStreamTest.testReadString |
( |
| ) |
throws Exception |
|
inline |
◆ testReadStringInvalidUtf8()
void com.google.protobuf.CodedInputStreamTest.testReadStringInvalidUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testReadStringRequireUtf8()
void com.google.protobuf.CodedInputStreamTest.testReadStringRequireUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testReadStringRequireUtf8InvalidUtf8()
void com.google.protobuf.CodedInputStreamTest.testReadStringRequireUtf8InvalidUtf8 |
( |
| ) |
throws Exception |
|
inline |
◆ testReadVarint()
void com.google.protobuf.CodedInputStreamTest.testReadVarint |
( |
| ) |
throws Exception |
|
inline |
◆ testReadWholeMessage()
void com.google.protobuf.CodedInputStreamTest.testReadWholeMessage |
( |
| ) |
throws Exception |
|
inline |
◆ testRefillBufferWithCorrectSize()
void com.google.protobuf.CodedInputStreamTest.testRefillBufferWithCorrectSize |
( |
| ) |
throws Exception |
|
inline |
◆ testResetSizeCounter()
void com.google.protobuf.CodedInputStreamTest.testResetSizeCounter |
( |
| ) |
throws Exception |
|
inline |
◆ testSizeLimit()
void com.google.protobuf.CodedInputStreamTest.testSizeLimit |
( |
| ) |
throws Exception |
|
inline |
◆ testSizeLimitMultipleMessages()
void com.google.protobuf.CodedInputStreamTest.testSizeLimitMultipleMessages |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipHugeBlob()
void com.google.protobuf.CodedInputStreamTest.testSkipHugeBlob |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipInvalidVarint_FastPath()
void com.google.protobuf.CodedInputStreamTest.testSkipInvalidVarint_FastPath |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipInvalidVarint_SlowPath()
void com.google.protobuf.CodedInputStreamTest.testSkipInvalidVarint_SlowPath |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipMaliciouslyHugeBlob()
void com.google.protobuf.CodedInputStreamTest.testSkipMaliciouslyHugeBlob |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipPastEndOfByteArrayInput()
void com.google.protobuf.CodedInputStreamTest.testSkipPastEndOfByteArrayInput |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipRawBytesActuallySkips()
void com.google.protobuf.CodedInputStreamTest.testSkipRawBytesActuallySkips |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipRawBytesBug()
void com.google.protobuf.CodedInputStreamTest.testSkipRawBytesBug |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipRawBytesPastEndOfBufferWithLimit()
void com.google.protobuf.CodedInputStreamTest.testSkipRawBytesPastEndOfBufferWithLimit |
( |
| ) |
throws Exception |
|
inline |
◆ testSkipWholeMessage()
void com.google.protobuf.CodedInputStreamTest.testSkipWholeMessage |
( |
| ) |
throws Exception |
|
inline |
◆ DEFAULT_BLOCK_SIZE
final int com.google.protobuf.CodedInputStreamTest.DEFAULT_BLOCK_SIZE = 4096 |
|
staticprivate |
The documentation for this class was generated from the following file: