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

Public Member Functions

void testExtensionInsideTable () throws Exception
 
void testExtensionInsideTable () throws Exception
 
void testInterleavedFieldsAndExtensions () throws Exception
 
void testInterleavedFieldsAndExtensions () throws Exception
 
void testMergeLazyMessageSetExtensionEagerly () throws Exception
 
void testMergeLazyMessageSetExtensionEagerly () throws Exception
 
void testMergeLazyMessageSetExtensionNotEagerly () throws Exception
 
void testMergeLazyMessageSetExtensionNotEagerly () throws Exception
 
void testMergeMessageSetExtensionEagerly () throws Exception
 
void testMergeMessageSetExtensionEagerly () throws Exception
 
void testMergeMessageSetExtensionNotEagerly () throws Exception
 
void testMergeMessageSetExtensionNotEagerly () throws Exception
 
void testOneofOnlyLastSet () throws Exception
 
void testOneofOnlyLastSet () throws Exception
 
void testOneofWireFormat () throws Exception
 
void testOneofWireFormat () throws Exception
 
void testParseExtensions () throws Exception
 
void testParseExtensions () throws Exception
 
void testParseMessageSetEagerly () throws Exception
 
void testParseMessageSetEagerly () throws Exception
 
void testParseMessageSetExtensionEagerly () throws Exception
 
void testParseMessageSetExtensionEagerly () throws Exception
 
void testParseMessageSetExtensionNotEagerly () throws Exception
 
void testParseMessageSetExtensionNotEagerly () throws Exception
 
void testParseMessageSetNotEagerly () throws Exception
 
void testParseMessageSetNotEagerly () throws Exception
 
void testParseMultipleExtensionRanges () throws Exception
 
void testParseMultipleExtensionRanges () throws Exception
 
void testParseMultipleExtensionRangesDynamic () throws Exception
 
void testParseMultipleExtensionRangesDynamic () throws Exception
 
void testParsePackedExtensions () throws Exception
 
void testParsePackedExtensions () throws Exception
 
void testSerialization () throws Exception
 
void testSerialization () throws Exception
 
void testSerializationPacked () throws Exception
 
void testSerializationPacked () throws Exception
 
void testSerializationPackedWithoutGetSerializedSize () throws Exception
 
void testSerializationPackedWithoutGetSerializedSize () throws Exception
 
void testSerializeDelimited () throws Exception
 
void testSerializeDelimited () throws Exception
 
void testSerializeExtensions () throws Exception
 
void testSerializeExtensions () throws Exception
 
void testSerializeMessageSetEagerly () throws Exception
 
void testSerializeMessageSetEagerly () throws Exception
 
void testSerializeMessageSetNotEagerly () throws Exception
 
void testSerializeMessageSetNotEagerly () throws Exception
 
void testSerializePackedExtensions () throws Exception
 
void testSerializePackedExtensions () throws Exception
 

Private Member Functions

void assertFieldsInOrder (ByteString data) throws Exception
 
void assertFieldsInOrder (ByteString data) throws Exception
 
ExtensionRegistry getTestFieldOrderingsRegistry ()
 
ExtensionRegistry getTestFieldOrderingsRegistry ()
 
void testMergeLazyMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testMergeLazyMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testMergeMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testMergeMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetExtensionWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetWithFlag (boolean eagerParsing) throws Exception
 
void testParseMessageSetWithFlag (boolean eagerParsing) throws Exception
 
void testSerializeMessageSetWithFlag (boolean eagerParsing) throws Exception
 
void testSerializeMessageSetWithFlag (boolean eagerParsing) throws Exception
 

Static Private Member Functions

static ExtensionRegistry getTestExtensionInsideTableRegistry ()
 
static ExtensionRegistry getTestExtensionInsideTableRegistry ()
 

Static Private Attributes

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

Detailed Description

Tests related to parsing and serialization.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com (Kenton Varda)

Tests related to parsing and serialization.

Definition at line 56 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java.

Member Function Documentation

◆ assertFieldsInOrder() [1/2]

void com.google.protobuf.WireFormatTest.assertFieldsInOrder ( ByteString  data) throws Exception
inlineprivate

◆ assertFieldsInOrder() [2/2]

void com.google.protobuf.WireFormatTest.assertFieldsInOrder ( ByteString  data) throws Exception
inlineprivate

◆ getTestExtensionInsideTableRegistry() [1/2]

static ExtensionRegistry com.google.protobuf.WireFormatTest.getTestExtensionInsideTableRegistry ( )
inlinestaticprivate

◆ getTestExtensionInsideTableRegistry() [2/2]

static ExtensionRegistry com.google.protobuf.WireFormatTest.getTestExtensionInsideTableRegistry ( )
inlinestaticprivate

◆ getTestFieldOrderingsRegistry() [1/2]

ExtensionRegistry com.google.protobuf.WireFormatTest.getTestFieldOrderingsRegistry ( )
inlineprivate

◆ getTestFieldOrderingsRegistry() [2/2]

ExtensionRegistry com.google.protobuf.WireFormatTest.getTestFieldOrderingsRegistry ( )
inlineprivate

◆ testExtensionInsideTable() [1/2]

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

◆ testExtensionInsideTable() [2/2]

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

◆ testInterleavedFieldsAndExtensions() [1/2]

void com.google.protobuf.WireFormatTest.testInterleavedFieldsAndExtensions ( ) throws Exception
inline

◆ testInterleavedFieldsAndExtensions() [2/2]

void com.google.protobuf.WireFormatTest.testInterleavedFieldsAndExtensions ( ) throws Exception
inline

◆ testMergeLazyMessageSetExtensionEagerly() [1/2]

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

◆ testMergeLazyMessageSetExtensionEagerly() [2/2]

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

◆ testMergeLazyMessageSetExtensionNotEagerly() [1/2]

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

◆ testMergeLazyMessageSetExtensionNotEagerly() [2/2]

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

◆ testMergeLazyMessageSetExtensionWithFlag() [1/2]

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

◆ testMergeLazyMessageSetExtensionWithFlag() [2/2]

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

◆ testMergeMessageSetExtensionEagerly() [1/2]

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

◆ testMergeMessageSetExtensionEagerly() [2/2]

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

◆ testMergeMessageSetExtensionNotEagerly() [1/2]

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

◆ testMergeMessageSetExtensionNotEagerly() [2/2]

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

◆ testMergeMessageSetExtensionWithFlag() [1/2]

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

◆ testMergeMessageSetExtensionWithFlag() [2/2]

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

◆ testOneofOnlyLastSet() [1/2]

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

◆ testOneofOnlyLastSet() [2/2]

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

◆ testOneofWireFormat() [1/2]

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

◆ testOneofWireFormat() [2/2]

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

◆ testParseExtensions() [1/2]

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

◆ testParseExtensions() [2/2]

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

◆ testParseMessageSetEagerly() [1/2]

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

◆ testParseMessageSetEagerly() [2/2]

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

◆ testParseMessageSetExtensionEagerly() [1/2]

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

◆ testParseMessageSetExtensionEagerly() [2/2]

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

◆ testParseMessageSetExtensionNotEagerly() [1/2]

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

◆ testParseMessageSetExtensionNotEagerly() [2/2]

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

◆ testParseMessageSetExtensionWithFlag() [1/2]

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

◆ testParseMessageSetExtensionWithFlag() [2/2]

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

◆ testParseMessageSetNotEagerly() [1/2]

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

◆ testParseMessageSetNotEagerly() [2/2]

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

◆ testParseMessageSetWithFlag() [1/2]

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

◆ testParseMessageSetWithFlag() [2/2]

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

◆ testParseMultipleExtensionRanges() [1/2]

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

◆ testParseMultipleExtensionRanges() [2/2]

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

◆ testParseMultipleExtensionRangesDynamic() [1/2]

void com.google.protobuf.WireFormatTest.testParseMultipleExtensionRangesDynamic ( ) throws Exception
inline

◆ testParseMultipleExtensionRangesDynamic() [2/2]

void com.google.protobuf.WireFormatTest.testParseMultipleExtensionRangesDynamic ( ) throws Exception
inline

◆ testParsePackedExtensions() [1/2]

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

◆ testParsePackedExtensions() [2/2]

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

◆ testSerialization() [1/2]

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

◆ testSerialization() [2/2]

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

◆ testSerializationPacked() [1/2]

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

◆ testSerializationPacked() [2/2]

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

◆ testSerializationPackedWithoutGetSerializedSize() [1/2]

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

◆ testSerializationPackedWithoutGetSerializedSize() [2/2]

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

◆ testSerializeDelimited() [1/2]

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

◆ testSerializeDelimited() [2/2]

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

◆ testSerializeExtensions() [1/2]

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

◆ testSerializeExtensions() [2/2]

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

◆ testSerializeMessageSetEagerly() [1/2]

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

◆ testSerializeMessageSetEagerly() [2/2]

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

◆ testSerializeMessageSetNotEagerly() [1/2]

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

◆ testSerializeMessageSetNotEagerly() [2/2]

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

◆ testSerializeMessageSetWithFlag() [1/2]

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

◆ testSerializeMessageSetWithFlag() [2/2]

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

◆ testSerializePackedExtensions() [1/2]

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

◆ testSerializePackedExtensions() [2/2]

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

Member Data Documentation

◆ TYPE_ID_1

static final int com.google.protobuf.WireFormatTest.TYPE_ID_1
staticprivate
Initial value:
=
TestMessageSetExtension1.getDescriptor().getExtensions().get(0).getNumber()

Definition at line 58 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java.

◆ TYPE_ID_2

static final int com.google.protobuf.WireFormatTest.TYPE_ID_2
staticprivate
Initial value:
=
TestMessageSetExtension2.getDescriptor().getExtensions().get(0).getNumber()

Definition at line 60 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java.

◆ UNKNOWN_TYPE_ID

static final int com.google.protobuf.WireFormatTest.UNKNOWN_TYPE_ID = 1550055
staticprivate

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


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