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

Public Member Functions

void testExtensionInsideTable () throws Exception
 
void testMergeFromPartialByteArray () throws Exception
 
void testMergeLazyMessageSetExtensionEagerly () throws Exception
 
void testMergeLazyMessageSetExtensionNotEagerly () throws Exception
 
void testMergeMessageSetExtensionEagerly () throws Exception
 
void testMergeMessageSetExtensionNotEagerly () throws Exception
 
void testOneofOnlyLastSet () throws Exception
 
void testOneofWireFormat () throws Exception
 
void testParseAllVarintBits () throws Exception
 
void testParseEmptyBytes () throws Exception
 
void testParseEmptyRepeatedBytesField () throws Exception
 
void testParseEmptyRepeatedStringField () throws Exception
 
void testParseEmptyRepeatedStringFieldProto3 () throws Exception
 
void testParseEmptyString () throws Exception
 
void testParseEmptyStringProto3 () throws Exception
 
void testParseEmptyUnknownLengthDelimitedField () throws Exception
 
void testParseExtensions () throws Exception
 
void testParseExtensionsLite () throws Exception
 
void testParseMessageSetEagerly () throws Exception
 
void testParseMessageSetExtensionEagerly () throws Exception
 
void testParseMessageSetExtensionNotEagerly () throws Exception
 
void testParseMessageSetNotEagerly () throws Exception
 
void testParseMultipleExtensionRanges () throws Exception
 
void testParsePackedExtensions () throws Exception
 
void testParsePackedExtensionsLite () throws Exception
 
void testParsePackedFieldsWithIncorrectLength () throws Exception
 
void testParserRejectInvalidTag () throws Exception
 
void testParseTruncatedPackedFields () throws Exception
 
void testParseVarintMinMax () throws Exception
 
void testProto2UnknownEnumValuesInExtension () throws Exception
 
void testProto2UnknownEnumValuesInMapField () throws Exception
 
void testProto2UnknownEnumValuesInOneof () throws Exception
 
void testProto2UnknownEnumValuesInOptionalField () throws Exception
 
void testProto2UnknownEnumValuesInRepeatedField () throws Exception
 
void testProto3MessageFieldMergeBehavior () throws Exception
 
void testProto3UnknownEnumValuesInMapField () throws Exception
 
void testProto3UnknownEnumValuesInOneof () throws Exception
 
void testProto3UnknownEnumValuesInOptionalField () throws Exception
 
void testProto3UnknownEnumValuesInRepeatedField () throws Exception
 
void testSerialization () throws Exception
 
void testSerializationPacked () throws Exception
 
void testSerializationPackedWithoutGetSerializedSize () throws Exception
 
void testSerializeDelimited () throws Exception
 
void testSerializeExtensions () throws Exception
 
void testSerializeExtensionsLite () throws Exception
 
void testSerializeMessageSetEagerly () throws Exception
 
void testSerializeMessageSetNotEagerly () throws Exception
 
void testSerializePackedExtensions () throws Exception
 
void testSerializePackedExtensionsLite () throws Exception
 
void testSkipUnknownFieldInMessageSetItem () throws Exception
 
void testUnmatchedGroupTag () throws Exception
 
void testUnmatchedWireType () throws Exception
 

Private Member Functions

void assertAccepted (MessageLite defaultInstance, byte[] data) throws Exception
 
void assertInvalidWireFormat (byte[] data)
 
void assertInvalidWireFormat (MessageLite defaultInstance, byte[] data)
 
void assertInvalidWireFormat (MessageLite defaultInstance, byte[] data, int offset, int length)
 
ExtensionRegistryLite getTestFieldOrderingsRegistry ()
 
void testMergeLazyMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testMergeMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetWithFlag (boolean eagerParsing) throws Exception
 
void testSerializeMessageSetWithFlag (boolean eagerParsing) throws Exception
 

Static Private Member Functions

static ExtensionRegistryLite getTestExtensionInsideTableRegistry ()
 

Static Private Attributes

static final int TYPE_ID_1 = 1545008
 
static final int TYPE_ID_2 = 1547769
 
static final int UNKNOWN_TYPE_ID = 1550055
 

Detailed Description

Definition at line 62 of file WireFormatLiteTest.java.

Member Function Documentation

◆ assertAccepted()

void com.google.protobuf.WireFormatLiteTest.assertAccepted ( MessageLite  defaultInstance,
byte[]  data 
) throws Exception
inlineprivate

Definition at line 633 of file WireFormatLiteTest.java.

◆ assertInvalidWireFormat() [1/3]

void com.google.protobuf.WireFormatLiteTest.assertInvalidWireFormat ( byte[]  data)
inlineprivate

Definition at line 542 of file WireFormatLiteTest.java.

◆ assertInvalidWireFormat() [2/3]

void com.google.protobuf.WireFormatLiteTest.assertInvalidWireFormat ( MessageLite  defaultInstance,
byte[]  data 
)
inlineprivate

Definition at line 538 of file WireFormatLiteTest.java.

◆ assertInvalidWireFormat() [3/3]

void com.google.protobuf.WireFormatLiteTest.assertInvalidWireFormat ( MessageLite  defaultInstance,
byte[]  data,
int  offset,
int  length 
)
inlineprivate

Definition at line 507 of file WireFormatLiteTest.java.

◆ getTestExtensionInsideTableRegistry()

static ExtensionRegistryLite com.google.protobuf.WireFormatLiteTest.getTestExtensionInsideTableRegistry ( )
inlinestaticprivate

Definition at line 255 of file WireFormatLiteTest.java.

◆ getTestFieldOrderingsRegistry()

ExtensionRegistryLite com.google.protobuf.WireFormatLiteTest.getTestFieldOrderingsRegistry ( )
inlineprivate

Definition at line 232 of file WireFormatLiteTest.java.

◆ testExtensionInsideTable()

void com.google.protobuf.WireFormatLiteTest.testExtensionInsideTable ( ) throws Exception
inline

Definition at line 261 of file WireFormatLiteTest.java.

◆ testMergeFromPartialByteArray()

void com.google.protobuf.WireFormatLiteTest.testMergeFromPartialByteArray ( ) throws Exception
inline

Definition at line 1015 of file WireFormatLiteTest.java.

◆ testMergeLazyMessageSetExtensionEagerly()

void com.google.protobuf.WireFormatLiteTest.testMergeLazyMessageSetExtensionEagerly ( ) throws Exception
inline

Definition at line 406 of file WireFormatLiteTest.java.

◆ testMergeLazyMessageSetExtensionNotEagerly()

void com.google.protobuf.WireFormatLiteTest.testMergeLazyMessageSetExtensionNotEagerly ( ) throws Exception
inline

Definition at line 410 of file WireFormatLiteTest.java.

◆ testMergeLazyMessageSetExtensionWithFlag()

void com.google.protobuf.WireFormatLiteTest.testMergeLazyMessageSetExtensionWithFlag ( boolean  eagerParsing) throws Exception
inlineprivate

Definition at line 414 of file WireFormatLiteTest.java.

◆ testMergeMessageSetExtensionEagerly()

void com.google.protobuf.WireFormatLiteTest.testMergeMessageSetExtensionEagerly ( ) throws Exception
inline

Definition at line 440 of file WireFormatLiteTest.java.

◆ testMergeMessageSetExtensionNotEagerly()

void com.google.protobuf.WireFormatLiteTest.testMergeMessageSetExtensionNotEagerly ( ) throws Exception
inline

Definition at line 444 of file WireFormatLiteTest.java.

◆ testMergeMessageSetExtensionWithFlag()

void com.google.protobuf.WireFormatLiteTest.testMergeMessageSetExtensionWithFlag ( boolean  eagerParsing) throws Exception
inlineprivate

Definition at line 448 of file WireFormatLiteTest.java.

◆ testOneofOnlyLastSet()

void com.google.protobuf.WireFormatLiteTest.testOneofOnlyLastSet ( ) throws Exception
inline

Definition at line 497 of file WireFormatLiteTest.java.

◆ testOneofWireFormat()

void com.google.protobuf.WireFormatLiteTest.testOneofWireFormat ( ) throws Exception
inline

Definition at line 485 of file WireFormatLiteTest.java.

◆ testParseAllVarintBits()

void com.google.protobuf.WireFormatLiteTest.testParseAllVarintBits ( ) throws Exception
inline

Definition at line 776 of file WireFormatLiteTest.java.

◆ testParseEmptyBytes()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyBytes ( ) throws Exception
inline

Definition at line 813 of file WireFormatLiteTest.java.

◆ testParseEmptyRepeatedBytesField()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyRepeatedBytesField ( ) throws Exception
inline

Definition at line 849 of file WireFormatLiteTest.java.

◆ testParseEmptyRepeatedStringField()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyRepeatedStringField ( ) throws Exception
inline

Definition at line 819 of file WireFormatLiteTest.java.

◆ testParseEmptyRepeatedStringFieldProto3()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyRepeatedStringFieldProto3 ( ) throws Exception
inline

Definition at line 833 of file WireFormatLiteTest.java.

◆ testParseEmptyString()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyString ( ) throws Exception
inline

Definition at line 798 of file WireFormatLiteTest.java.

◆ testParseEmptyStringProto3()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyStringProto3 ( ) throws Exception
inline

Definition at line 804 of file WireFormatLiteTest.java.

◆ testParseEmptyUnknownLengthDelimitedField()

void com.google.protobuf.WireFormatLiteTest.testParseEmptyUnknownLengthDelimitedField ( ) throws Exception
inline

Definition at line 791 of file WireFormatLiteTest.java.

◆ testParseExtensions()

void com.google.protobuf.WireFormatLiteTest.testParseExtensions ( ) throws Exception
inline

Definition at line 186 of file WireFormatLiteTest.java.

◆ testParseExtensionsLite()

void com.google.protobuf.WireFormatLiteTest.testParseExtensionsLite ( ) throws Exception
inline

Definition at line 89 of file WireFormatLiteTest.java.

◆ testParseMessageSetEagerly()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetEagerly ( ) throws Exception
inline

Definition at line 328 of file WireFormatLiteTest.java.

◆ testParseMessageSetExtensionEagerly()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetExtensionEagerly ( ) throws Exception
inline

Definition at line 374 of file WireFormatLiteTest.java.

◆ testParseMessageSetExtensionNotEagerly()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetExtensionNotEagerly ( ) throws Exception
inline

Definition at line 378 of file WireFormatLiteTest.java.

◆ testParseMessageSetExtensionWithFlag()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetExtensionWithFlag ( boolean  eagerParsing) throws Exception
inlineprivate

Definition at line 382 of file WireFormatLiteTest.java.

◆ testParseMessageSetNotEagerly()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetNotEagerly ( ) throws Exception
inline

Definition at line 332 of file WireFormatLiteTest.java.

◆ testParseMessageSetWithFlag()

void com.google.protobuf.WireFormatLiteTest.testParseMessageSetWithFlag ( boolean  eagerParsing) throws Exception
inlineprivate

Definition at line 336 of file WireFormatLiteTest.java.

◆ testParseMultipleExtensionRanges()

void com.google.protobuf.WireFormatLiteTest.testParseMultipleExtensionRanges ( ) throws Exception
inline

Definition at line 239 of file WireFormatLiteTest.java.

◆ testParsePackedExtensions()

void com.google.protobuf.WireFormatLiteTest.testParsePackedExtensions ( ) throws Exception
inline

Definition at line 201 of file WireFormatLiteTest.java.

◆ testParsePackedExtensionsLite()

void com.google.protobuf.WireFormatLiteTest.testParsePackedExtensionsLite ( ) throws Exception
inline

Definition at line 105 of file WireFormatLiteTest.java.

◆ testParsePackedFieldsWithIncorrectLength()

void com.google.protobuf.WireFormatLiteTest.testParsePackedFieldsWithIncorrectLength ( ) throws Exception
inline

Definition at line 690 of file WireFormatLiteTest.java.

◆ testParserRejectInvalidTag()

void com.google.protobuf.WireFormatLiteTest.testParserRejectInvalidTag ( ) throws Exception
inline

Definition at line 547 of file WireFormatLiteTest.java.

◆ testParseTruncatedPackedFields()

void com.google.protobuf.WireFormatLiteTest.testParseTruncatedPackedFields ( ) throws Exception
inline

Definition at line 663 of file WireFormatLiteTest.java.

◆ testParseVarintMinMax()

void com.google.protobuf.WireFormatLiteTest.testParseVarintMinMax ( ) throws Exception
inline

Definition at line 761 of file WireFormatLiteTest.java.

◆ testProto2UnknownEnumValuesInExtension()

void com.google.protobuf.WireFormatLiteTest.testProto2UnknownEnumValuesInExtension ( ) throws Exception
inline

Definition at line 941 of file WireFormatLiteTest.java.

◆ testProto2UnknownEnumValuesInMapField()

void com.google.protobuf.WireFormatLiteTest.testProto2UnknownEnumValuesInMapField ( ) throws Exception
inline

Definition at line 916 of file WireFormatLiteTest.java.

◆ testProto2UnknownEnumValuesInOneof()

void com.google.protobuf.WireFormatLiteTest.testProto2UnknownEnumValuesInOneof ( ) throws Exception
inline

Definition at line 929 of file WireFormatLiteTest.java.

◆ testProto2UnknownEnumValuesInOptionalField()

void com.google.protobuf.WireFormatLiteTest.testProto2UnknownEnumValuesInOptionalField ( ) throws Exception
inline

Definition at line 889 of file WireFormatLiteTest.java.

◆ testProto2UnknownEnumValuesInRepeatedField()

void com.google.protobuf.WireFormatLiteTest.testProto2UnknownEnumValuesInRepeatedField ( ) throws Exception
inline

Definition at line 902 of file WireFormatLiteTest.java.

◆ testProto3MessageFieldMergeBehavior()

void com.google.protobuf.WireFormatLiteTest.testProto3MessageFieldMergeBehavior ( ) throws Exception
inline

Definition at line 987 of file WireFormatLiteTest.java.

◆ testProto3UnknownEnumValuesInMapField()

void com.google.protobuf.WireFormatLiteTest.testProto3UnknownEnumValuesInMapField ( ) throws Exception
inline

Definition at line 973 of file WireFormatLiteTest.java.

◆ testProto3UnknownEnumValuesInOneof()

void com.google.protobuf.WireFormatLiteTest.testProto3UnknownEnumValuesInOneof ( ) throws Exception
inline

Definition at line 980 of file WireFormatLiteTest.java.

◆ testProto3UnknownEnumValuesInOptionalField()

void com.google.protobuf.WireFormatLiteTest.testProto3UnknownEnumValuesInOptionalField ( ) throws Exception
inline

Definition at line 956 of file WireFormatLiteTest.java.

◆ testProto3UnknownEnumValuesInRepeatedField()

void com.google.protobuf.WireFormatLiteTest.testProto3UnknownEnumValuesInRepeatedField ( ) throws Exception
inline

Definition at line 964 of file WireFormatLiteTest.java.

◆ testSerialization()

void com.google.protobuf.WireFormatLiteTest.testSerialization ( ) throws Exception
inline

Definition at line 118 of file WireFormatLiteTest.java.

◆ testSerializationPacked()

void com.google.protobuf.WireFormatLiteTest.testSerializationPacked ( ) throws Exception
inline

Definition at line 129 of file WireFormatLiteTest.java.

◆ testSerializationPackedWithoutGetSerializedSize()

void com.google.protobuf.WireFormatLiteTest.testSerializationPackedWithoutGetSerializedSize ( ) throws Exception
inline

Definition at line 166 of file WireFormatLiteTest.java.

◆ testSerializeDelimited()

void com.google.protobuf.WireFormatLiteTest.testSerializeDelimited ( ) throws Exception
inline

Definition at line 213 of file WireFormatLiteTest.java.

◆ testSerializeExtensions()

void com.google.protobuf.WireFormatLiteTest.testSerializeExtensions ( ) throws Exception
inline

Definition at line 140 of file WireFormatLiteTest.java.

◆ testSerializeExtensionsLite()

void com.google.protobuf.WireFormatLiteTest.testSerializeExtensionsLite ( ) throws Exception
inline

Definition at line 63 of file WireFormatLiteTest.java.

◆ testSerializeMessageSetEagerly()

void com.google.protobuf.WireFormatLiteTest.testSerializeMessageSetEagerly ( ) throws Exception
inline

Definition at line 279 of file WireFormatLiteTest.java.

◆ testSerializeMessageSetNotEagerly()

void com.google.protobuf.WireFormatLiteTest.testSerializeMessageSetNotEagerly ( ) throws Exception
inline

Definition at line 283 of file WireFormatLiteTest.java.

◆ testSerializeMessageSetWithFlag()

void com.google.protobuf.WireFormatLiteTest.testSerializeMessageSetWithFlag ( boolean  eagerParsing) throws Exception
inlineprivate

Definition at line 287 of file WireFormatLiteTest.java.

◆ testSerializePackedExtensions()

void com.google.protobuf.WireFormatLiteTest.testSerializePackedExtensions ( ) throws Exception
inline

Definition at line 154 of file WireFormatLiteTest.java.

◆ testSerializePackedExtensionsLite()

void com.google.protobuf.WireFormatLiteTest.testSerializePackedExtensionsLite ( ) throws Exception
inline

Definition at line 77 of file WireFormatLiteTest.java.

◆ testSkipUnknownFieldInMessageSetItem()

void com.google.protobuf.WireFormatLiteTest.testSkipUnknownFieldInMessageSetItem ( ) throws Exception
inline

Definition at line 864 of file WireFormatLiteTest.java.

◆ testUnmatchedGroupTag()

void com.google.protobuf.WireFormatLiteTest.testUnmatchedGroupTag ( ) throws Exception
inline

Definition at line 612 of file WireFormatLiteTest.java.

◆ testUnmatchedWireType()

void com.google.protobuf.WireFormatLiteTest.testUnmatchedWireType ( ) throws Exception
inline

Definition at line 645 of file WireFormatLiteTest.java.

Member Data Documentation

◆ TYPE_ID_1

final int com.google.protobuf.WireFormatLiteTest.TYPE_ID_1 = 1545008
staticprivate

Definition at line 276 of file WireFormatLiteTest.java.

◆ TYPE_ID_2

final int com.google.protobuf.WireFormatLiteTest.TYPE_ID_2 = 1547769
staticprivate

Definition at line 277 of file WireFormatLiteTest.java.

◆ UNKNOWN_TYPE_ID

final int com.google.protobuf.WireFormatLiteTest.UNKNOWN_TYPE_ID = 1550055
staticprivate

Definition at line 275 of file WireFormatLiteTest.java.


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


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