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

Public Member Functions

void testGeneratedMessageParserSingleton () throws Exception
 
void testNormalMessage () throws Exception
 
void testOptimizeForSize () throws Exception
 
void testParseDelimitedTo () throws Exception
 
void testParsePartial () throws Exception
 
void testParseUnknownFields () throws Exception
 
void testParsingMerge () throws Exception
 

Private Member Functions

void assertMessageEquals (MessageLite expected, MessageLite actual) throws Exception
 
void assertMessageMerged (TestAllTypes allTypes) throws Exception
 
void assertRoundTripEquals (MessageLite message) throws Exception
 
void assertRoundTripEquals (MessageLite message, ExtensionRegistryLite registry) throws Exception
 
byte[] generatePaddingArray (byte[] data, int offset, int padding)
 

Detailed Description

Unit test for Parser.

Author
liuji.nosp@m.si@g.nosp@m.oogle.nosp@m..com (Pherl Liu)

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

Member Function Documentation

◆ assertMessageEquals()

void com.google.protobuf.test.ParserTest.assertMessageEquals ( MessageLite  expected,
MessageLite  actual 
) throws Exception
inlineprivate

◆ assertMessageMerged()

void com.google.protobuf.test.ParserTest.assertMessageMerged ( TestAllTypes  allTypes) throws Exception
inlineprivate

◆ assertRoundTripEquals() [1/2]

void com.google.protobuf.test.ParserTest.assertRoundTripEquals ( MessageLite  message) throws Exception
inlineprivate

◆ assertRoundTripEquals() [2/2]

void com.google.protobuf.test.ParserTest.assertRoundTripEquals ( MessageLite  message,
ExtensionRegistryLite  registry 
) throws Exception
inlineprivate

◆ generatePaddingArray()

byte [] com.google.protobuf.test.ParserTest.generatePaddingArray ( byte[]  data,
int  offset,
int  padding 
)
inlineprivate

◆ testGeneratedMessageParserSingleton()

void com.google.protobuf.test.ParserTest.testGeneratedMessageParserSingleton ( ) throws Exception
inline

◆ testNormalMessage()

void com.google.protobuf.test.ParserTest.testNormalMessage ( ) throws Exception
inline

◆ testOptimizeForSize()

void com.google.protobuf.test.ParserTest.testOptimizeForSize ( ) throws Exception
inline

◆ testParseDelimitedTo()

void com.google.protobuf.test.ParserTest.testParseDelimitedTo ( ) throws Exception
inline

◆ testParsePartial()

void com.google.protobuf.test.ParserTest.testParsePartial ( ) throws Exception
inline

◆ testParseUnknownFields()

void com.google.protobuf.test.ParserTest.testParseUnknownFields ( ) throws Exception
inline

◆ testParsingMerge()

void com.google.protobuf.test.ParserTest.testParsingMerge ( ) throws Exception
inline

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


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