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

Public Member Functions

void testEmptyLazyField () throws Exception
 
void testGetByteString ()
 
void testGetByteStringEx () throws Exception
 
void testGetSerializedSize ()
 
void testGetSerializedSizeEx () throws Exception
 
void testGetValue ()
 
void testGetValueEx () throws Exception
 
void testInvalidProto () throws Exception
 
void testMergeBeforeParsing () throws Exception
 
void testMergeExtensions () throws Exception
 
void testMergeInvalid () throws Exception
 
void testMergeKeepsExtensionsWhenPossible () throws Exception
 
void testMergeOneNotParsed () throws Exception
 
void testSetValue ()
 
void testSetValueEx () throws Exception
 

Private Member Functions

void assertNotEqual (Object unexpected, Object actual)
 
void changeValue (LazyFieldLite lazyField)
 
LazyFieldLite createLazyFieldLiteFromMessage (ExtensionRegistryLite extensionRegistry, MessageLite message)
 
LazyFieldLite createLazyFieldLiteFromMessage (MessageLite message)
 

Detailed Description

Unit test for LazyFieldLite.

Author
xiang.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Xiang Li)

Definition at line 45 of file LazyFieldLiteTest.java.

Member Function Documentation

◆ assertNotEqual()

void com.google.protobuf.LazyFieldLiteTest.assertNotEqual ( Object  unexpected,
Object  actual 
)
inlineprivate

Definition at line 241 of file LazyFieldLiteTest.java.

◆ changeValue()

void com.google.protobuf.LazyFieldLiteTest.changeValue ( LazyFieldLite  lazyField)
inlineprivate

Definition at line 234 of file LazyFieldLiteTest.java.

◆ createLazyFieldLiteFromMessage() [1/2]

LazyFieldLite com.google.protobuf.LazyFieldLiteTest.createLazyFieldLiteFromMessage ( ExtensionRegistryLite  extensionRegistry,
MessageLite  message 
)
inlineprivate

Definition at line 228 of file LazyFieldLiteTest.java.

◆ createLazyFieldLiteFromMessage() [2/2]

LazyFieldLite com.google.protobuf.LazyFieldLiteTest.createLazyFieldLiteFromMessage ( MessageLite  message)
inlineprivate

Definition at line 224 of file LazyFieldLiteTest.java.

◆ testEmptyLazyField()

void com.google.protobuf.LazyFieldLiteTest.testEmptyLazyField ( ) throws Exception
inline

Definition at line 125 of file LazyFieldLiteTest.java.

◆ testGetByteString()

void com.google.protobuf.LazyFieldLiteTest.testGetByteString ( )
inline

Definition at line 99 of file LazyFieldLiteTest.java.

◆ testGetByteStringEx()

void com.google.protobuf.LazyFieldLiteTest.testGetByteStringEx ( ) throws Exception
inline

Definition at line 107 of file LazyFieldLiteTest.java.

◆ testGetSerializedSize()

void com.google.protobuf.LazyFieldLiteTest.testGetSerializedSize ( )
inline

Definition at line 83 of file LazyFieldLiteTest.java.

◆ testGetSerializedSizeEx()

void com.google.protobuf.LazyFieldLiteTest.testGetSerializedSizeEx ( ) throws Exception
inline

Definition at line 91 of file LazyFieldLiteTest.java.

◆ testGetValue()

void com.google.protobuf.LazyFieldLiteTest.testGetValue ( )
inline

Definition at line 47 of file LazyFieldLiteTest.java.

◆ testGetValueEx()

void com.google.protobuf.LazyFieldLiteTest.testGetValueEx ( ) throws Exception
inline

Definition at line 55 of file LazyFieldLiteTest.java.

◆ testInvalidProto()

void com.google.protobuf.LazyFieldLiteTest.testInvalidProto ( ) throws Exception
inline

Definition at line 131 of file LazyFieldLiteTest.java.

◆ testMergeBeforeParsing()

void com.google.protobuf.LazyFieldLiteTest.testMergeBeforeParsing ( ) throws Exception
inline

Definition at line 141 of file LazyFieldLiteTest.java.

◆ testMergeExtensions()

void com.google.protobuf.LazyFieldLiteTest.testMergeExtensions ( ) throws Exception
inline

Definition at line 115 of file LazyFieldLiteTest.java.

◆ testMergeInvalid()

void com.google.protobuf.LazyFieldLiteTest.testMergeInvalid ( ) throws Exception
inline

Definition at line 174 of file LazyFieldLiteTest.java.

◆ testMergeKeepsExtensionsWhenPossible()

void com.google.protobuf.LazyFieldLiteTest.testMergeKeepsExtensionsWhenPossible ( ) throws Exception
inline

Definition at line 186 of file LazyFieldLiteTest.java.

◆ testMergeOneNotParsed()

void com.google.protobuf.LazyFieldLiteTest.testMergeOneNotParsed ( ) throws Exception
inline

Definition at line 153 of file LazyFieldLiteTest.java.

◆ testSetValue()

void com.google.protobuf.LazyFieldLiteTest.testSetValue ( )
inline

Definition at line 63 of file LazyFieldLiteTest.java.

◆ testSetValueEx()

void com.google.protobuf.LazyFieldLiteTest.testSetValueEx ( ) throws Exception
inline

Definition at line 73 of file LazyFieldLiteTest.java.


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


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