Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
com.google.protobuf.AbstractSchemaTest< T extends MessageLite > Class Template Referenceabstract

Public Member Functions

void invalidUtf8StringParsing () throws IOException
 
void mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException () throws IOException
 
void randomMessageShouldRoundtrip () throws IOException
 
void setup ()
 
void testRequiredFields () throws Exception
 

Protected Member Functions

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 Protected Member Functions

static final< M extends MessageLite > void roundtrip (String failureMessage, M msg, Schema< M > schema) throws IOException
 

Private Attributes

Schema< Tschema
 

Detailed Description

Definition at line 46 of file AbstractSchemaTest.java.

Member Function Documentation

◆ data()

Definition at line 138 of file AbstractSchemaTest.java.

◆ invalidUtf8StringParsing()

void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.invalidUtf8StringParsing ( ) throws IOException
inline

Definition at line 76 of file AbstractSchemaTest.java.

◆ mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException()

void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException ( ) throws IOException
inline

Definition at line 90 of file AbstractSchemaTest.java.

◆ messageFactory()

abstract ExperimentalMessageFactory<? extends T> com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.messageFactory ( )
abstractprotected

◆ newMessagesMissingRequiredFields()

List<T> com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.newMessagesMissingRequiredFields ( )
inlineprotected

Definition at line 142 of file AbstractSchemaTest.java.

◆ randomMessageShouldRoundtrip()

void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.randomMessageShouldRoundtrip ( ) throws IOException
inline

Definition at line 71 of file AbstractSchemaTest.java.

◆ registerSchemas()

void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.registerSchemas ( )
inlineprotected

Definition at line 56 of file AbstractSchemaTest.java.

◆ roundtrip() [1/2]

static final<M extends MessageLite> void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.roundtrip ( String  failureMessage,
msg,
Schema< M >  schema 
) throws IOException
inlinestaticprotected

Definition at line 112 of file AbstractSchemaTest.java.

◆ roundtrip() [2/2]

final void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.roundtrip ( String  failureMessage,
T  msg 
) throws IOException
inlineprotected

Definition at line 134 of file AbstractSchemaTest.java.

◆ schema()

abstract Schema<T> com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.schema ( )
abstractprotected

◆ serializedBytesWithInvalidUtf8()

List<ByteBuffer> com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.serializedBytesWithInvalidUtf8 ( ) throws IOException
inlineprotected

Definition at line 66 of file AbstractSchemaTest.java.

◆ setup()

Definition at line 50 of file AbstractSchemaTest.java.

◆ testRequiredFields()

void com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.testRequiredFields ( ) throws Exception
inline

Definition at line 148 of file AbstractSchemaTest.java.

Member Data Documentation

◆ schema

Schema<T> com.google.protobuf.AbstractSchemaTest< T extends MessageLite >.schema
private

Definition at line 47 of file AbstractSchemaTest.java.


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


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