Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
com.google.protobuf.AbstractProto2SchemaTest Class Referenceabstract
Inheritance diagram for com.google.protobuf.AbstractProto2SchemaTest:
Inheritance graph
[legend]

Public Member Functions

void mapsShouldRoundtrip () throws IOException
 
void mergeOptionalMessageFields () throws Exception
 
void oneofFieldsShouldRoundtrip () throws IOException
 
void unknownEnum () throws IOException
 
void unknownFieldsUnrecognized () throws Exception
 
- Public Member Functions inherited from com.google.protobuf.AbstractSchemaTest< Proto2Message >
void invalidUtf8StringParsing () throws IOException
 
void mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException () throws IOException
 
void randomMessageShouldRoundtrip () throws IOException
 
void setup ()
 
void testRequiredFields () throws Exception
 

Protected Member Functions

Proto2MessageFactory messageFactory ()
 
List< Proto2Message > newMessagesMissingRequiredFields ()
 
- Protected Member Functions inherited from com.google.protobuf.AbstractSchemaTest< Proto2Message >
final ExperimentalTestDataProvider data ()
 
abstract ExperimentalMessageFactory<? extends TmessageFactory ()
 
List< TnewMessagesMissingRequiredFields ()
 
void registerSchemas ()
 
final void roundtrip (String failureMessage, T msg) throws IOException
 
abstract Schema< Tschema ()
 
List< ByteBuffer > serializedBytesWithInvalidUtf8 () throws IOException
 

Private Member Functions

Proto2Message.Builder newBuilder ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from com.google.protobuf.AbstractSchemaTest< Proto2Message >
static final< M extends MessageLite > void roundtrip (String failureMessage, M msg, Schema< M > schema) throws IOException
 

Detailed Description

Base class for tests using Proto2Message.

Definition at line 47 of file AbstractProto2SchemaTest.java.

Member Function Documentation

◆ mapsShouldRoundtrip()

void com.google.protobuf.AbstractProto2SchemaTest.mapsShouldRoundtrip ( ) throws IOException
inline

Definition at line 111 of file AbstractProto2SchemaTest.java.

◆ mergeOptionalMessageFields()

void com.google.protobuf.AbstractProto2SchemaTest.mergeOptionalMessageFields ( ) throws Exception
inline

Definition at line 55 of file AbstractProto2SchemaTest.java.

◆ messageFactory()

Proto2MessageFactory com.google.protobuf.AbstractProto2SchemaTest.messageFactory ( )
inlineprotected

Definition at line 50 of file AbstractProto2SchemaTest.java.

◆ newBuilder()

Proto2Message.Builder com.google.protobuf.AbstractProto2SchemaTest.newBuilder ( )
inlineprivate

Definition at line 106 of file AbstractProto2SchemaTest.java.

◆ newMessagesMissingRequiredFields()

List<Proto2Message> com.google.protobuf.AbstractProto2SchemaTest.newMessagesMissingRequiredFields ( )
inlineprotected

Definition at line 221 of file AbstractProto2SchemaTest.java.

◆ oneofFieldsShouldRoundtrip()

void com.google.protobuf.AbstractProto2SchemaTest.oneofFieldsShouldRoundtrip ( ) throws IOException
inline

Definition at line 80 of file AbstractProto2SchemaTest.java.

◆ unknownEnum()

void com.google.protobuf.AbstractProto2SchemaTest.unknownEnum ( ) throws IOException
inline

Definition at line 135 of file AbstractProto2SchemaTest.java.

◆ unknownFieldsUnrecognized()

void com.google.protobuf.AbstractProto2SchemaTest.unknownFieldsUnrecognized ( ) throws Exception
inline

Definition at line 119 of file AbstractProto2SchemaTest.java.


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


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