Public Member Functions | |
void | mapsShouldRoundtrip () throws IOException |
void | mergeOptionalMessageFields () throws Exception |
void | oneofFieldsShouldRoundtrip () throws IOException |
void | unknownEnum () throws IOException |
void | unknownFieldsUnrecognized () throws Exception |
![]() | |
void | invalidUtf8StringParsing () throws IOException |
void | mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException () throws IOException |
void | randomMessageShouldRoundtrip () throws IOException |
void | setup () |
void | testRequiredFields () throws Exception |
Protected Member Functions | |
Proto2MessageLiteFactory | messageFactory () |
List< Proto2MessageLite > | newMessagesMissingRequiredFields () |
![]() | |
final ExperimentalTestDataProvider | data () |
abstract ExperimentalMessageFactory<? extends T > | messageFactory () |
List< T > | newMessagesMissingRequiredFields () |
void | registerSchemas () |
final void | roundtrip (String failureMessage, T msg) throws IOException |
abstract Schema< T > | schema () |
List< ByteBuffer > | serializedBytesWithInvalidUtf8 () throws IOException |
Private Member Functions | |
Proto2MessageLite.Builder | newBuilder () |
Additional Inherited Members | |
![]() | |
static final< M extends MessageLite > void | roundtrip (String failureMessage, M msg, Schema< M > schema) throws IOException |
Base class for tests using Proto2MessageLite.
Definition at line 47 of file AbstractProto2LiteSchemaTest.java.
|
inline |
Definition at line 117 of file AbstractProto2LiteSchemaTest.java.
|
inline |
Definition at line 55 of file AbstractProto2LiteSchemaTest.java.
|
inlineprotected |
Definition at line 50 of file AbstractProto2LiteSchemaTest.java.
|
inlineprivate |
Definition at line 107 of file AbstractProto2LiteSchemaTest.java.
|
inlineprotected |
Definition at line 112 of file AbstractProto2LiteSchemaTest.java.
|
inline |
Definition at line 81 of file AbstractProto2LiteSchemaTest.java.
|
inline |
Definition at line 140 of file AbstractProto2LiteSchemaTest.java.
|
inline |
Definition at line 125 of file AbstractProto2LiteSchemaTest.java.