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 testInterleavedFieldsAndExtensions () 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 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 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 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)

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

Member Function Documentation

◆ assertFieldsInOrder()

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

◆ getTestExtensionInsideTableRegistry()

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

◆ getTestFieldOrderingsRegistry()

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

◆ testExtensionInsideTable()

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

◆ testInterleavedFieldsAndExtensions()

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

◆ testMergeLazyMessageSetExtensionEagerly()

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

◆ testMergeLazyMessageSetExtensionNotEagerly()

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

◆ testMergeLazyMessageSetExtensionWithFlag()

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

◆ testMergeMessageSetExtensionEagerly()

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

◆ testMergeMessageSetExtensionNotEagerly()

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

◆ testMergeMessageSetExtensionWithFlag()

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

◆ testOneofOnlyLastSet()

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

◆ testOneofWireFormat()

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

◆ testParseExtensions()

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

◆ testParseMessageSetEagerly()

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

◆ testParseMessageSetExtensionEagerly()

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

◆ testParseMessageSetExtensionNotEagerly()

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

◆ testParseMessageSetExtensionWithFlag()

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

◆ testParseMessageSetNotEagerly()

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

◆ testParseMessageSetWithFlag()

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

◆ testParseMultipleExtensionRanges()

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

◆ testParseMultipleExtensionRangesDynamic()

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

◆ testParsePackedExtensions()

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

◆ testSerialization()

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

◆ testSerializationPacked()

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

◆ testSerializationPackedWithoutGetSerializedSize()

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

◆ testSerializeDelimited()

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

◆ testSerializeExtensions()

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

◆ testSerializeMessageSetEagerly()

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

◆ testSerializeMessageSetNotEagerly()

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

◆ testSerializeMessageSetWithFlag()

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

◆ testSerializePackedExtensions()

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

Member Data Documentation

◆ TYPE_ID_1

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

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

◆ TYPE_ID_2

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

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

◆ UNKNOWN_TYPE_ID

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

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


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