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

Public Member Functions

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

Private Member Functions

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

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)

Definition at line 56 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/WireFormatTest.java.

Member Function Documentation

◆ assertFieldsInOrder()

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

◆ getTestFieldOrderingsRegistry()

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

◆ testExtensionsSerializedSize()

void com.google.protobuf.test.WireFormatTest.testExtensionsSerializedSize ( ) throws Exception
inline

◆ testInterleavedFieldsAndExtensions()

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

◆ testMergeLazyMessageSetExtensionEagerly()

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

◆ testMergeLazyMessageSetExtensionNotEagerly()

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

◆ testMergeLazyMessageSetExtensionWithFlag()

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

◆ testParseExtensions()

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

◆ testParseMessageSetEagerly()

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

◆ testParseMessageSetExtensionEagerly()

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

◆ testParseMessageSetExtensionNotEagerly()

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

◆ testParseMessageSetExtensionWithFlag()

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

◆ testParseMessageSetNotEagerly()

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

◆ testParseMessageSetWithFlag()

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

◆ testParseMultipleExtensionRanges()

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

◆ testParseMultipleExtensionRangesDynamic()

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

◆ testParsePackedExtensions()

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

◆ testSerialization()

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

◆ testSerializationPacked()

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

◆ testSerializationPackedWithoutGetSerializedSize()

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

◆ testSerializeDelimited()

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

◆ testSerializeExtensions()

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

◆ testSerializeMessageSetEagerly()

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

◆ testSerializeMessageSetNotEagerly()

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

◆ testSerializeMessageSetWithFlag()

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

◆ testSerializePackedExtensions()

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

Member Data Documentation

◆ TYPE_ID_1

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

Definition at line 263 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/WireFormatTest.java.

◆ TYPE_ID_2

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

Definition at line 265 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/WireFormatTest.java.

◆ UNKNOWN_TYPE_ID

final int com.google.protobuf.test.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:09