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

Public Member Functions

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

Protected Member Functions

Proto3MessageFactory messageFactory ()
 
List< ByteBuffer > serializedBytesWithInvalidUtf8 () throws IOException
 
- Protected Member Functions inherited from com.google.protobuf.AbstractSchemaTest< Proto3Message >
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
 

Static Private Member Functions

static Proto3Message.Builder newBuilder ()
 

Additional Inherited Members

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

Detailed Description

Base class for tests using Proto3Message.

Definition at line 46 of file AbstractProto3SchemaTest.java.

Member Function Documentation

◆ mapsShouldRoundtrip()

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

Definition at line 141 of file AbstractProto3SchemaTest.java.

◆ mergeOptionalMessageFields()

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

Definition at line 76 of file AbstractProto3SchemaTest.java.

◆ messageFactory()

Proto3MessageFactory com.google.protobuf.AbstractProto3SchemaTest.messageFactory ( )
inlineprotected

Definition at line 48 of file AbstractProto3SchemaTest.java.

◆ newBuilder()

static Proto3Message.Builder com.google.protobuf.AbstractProto3SchemaTest.newBuilder ( )
inlinestaticprivate

Definition at line 148 of file AbstractProto3SchemaTest.java.

◆ oneofFieldsShouldRoundtrip()

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

Definition at line 101 of file AbstractProto3SchemaTest.java.

◆ preserveUnknownFields()

void com.google.protobuf.AbstractProto3SchemaTest.preserveUnknownFields ( )
inline

Definition at line 122 of file AbstractProto3SchemaTest.java.

◆ preserveUnknownFieldsProto2()

void com.google.protobuf.AbstractProto3SchemaTest.preserveUnknownFieldsProto2 ( )
inline

Definition at line 132 of file AbstractProto3SchemaTest.java.

◆ serializedBytesWithInvalidUtf8()

List<ByteBuffer> com.google.protobuf.AbstractProto3SchemaTest.serializedBytesWithInvalidUtf8 ( ) throws IOException
inlineprotected

Definition at line 53 of file AbstractProto3SchemaTest.java.


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


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