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

Classes

class  OneTimeIterable
 
class  OneTimeIterableList
 

Public Member Functions

void setUp () throws Exception
 
void testAddAll ()
 
void testAddAllIteratesOnce ()
 
void testAddAllIteratesOnce_throwsOnNull ()
 
void testBuilderMergeFromNull () throws Exception
 
void testBuilderMergeFromWithExtensions () throws Exception
 
void testBuilderMergeFromWithUnknownFields () throws Exception
 
void testClone ()
 
void testEquals () throws Exception
 
void testEquals_notEqual () throws Exception
 
void testEquals_oneOfMessages ()
 
void testEquals_sanity () throws Exception
 
void testEqualsAndHashCodeForTrickySchemaTypes ()
 
void testEqualsAndHashCodeWithExtensions () throws InvalidProtocolBufferException
 
void testEqualsAndHashCodeWithUnknownFields () throws InvalidProtocolBufferException
 
void testExtensionRenamesKeywords ()
 
void testHugeFieldNumbers () throws InvalidProtocolBufferException
 
void testLite () throws Exception
 
void testLite_unknownEnumAtListBoundary () throws Exception
 
void testLiteExtensions () throws Exception
 
void testMemoization () throws Exception
 
void testMergeFrom_sanity () throws Exception
 
void testMergeFromNoLazyFieldSharing () throws Exception
 
void testMergeFromStream_invalidBytes () throws Exception
 
void testMergeFromStream_repeatedField () throws Exception
 
void testNullExtensionRegistry () throws Exception
 
void testOneofEquals () throws Exception
 
void testPackedSerialization () throws Exception
 
void testParseFromByteBuffer () throws Exception
 
void testParseFromByteBuffer_extensions () throws Exception
 
void testParseFromByteBufferThrows ()
 
void testParseFromByteBufferThrows_extensions ()
 
void testParseLazy () throws Exception
 
void testParseLazy_oneOf () throws Exception
 
void testRecursiveHashcode ()
 
void testSanityCopyOnWrite () throws InvalidProtocolBufferException
 
void testSerializeToOutputStreamThrowsIOException ()
 
void testToStringDefaultInstance () throws Exception
 
void testToStringExtensions () throws Exception
 
void testToStringForeignFields () throws Exception
 
void testToStringGroup () throws Exception
 
void testToStringLazyMessage () throws Exception
 
void testToStringMapFields () throws Exception
 
void testToStringNestedMessage () throws Exception
 
void testToStringOneof () throws Exception
 
void testToStringPrimitives () throws Exception
 
void testToStringRepeatedFields () throws Exception
 
void testToStringScalarFieldsSuffixedWithList () throws Exception
 
void testToStringStringFields () throws Exception
 
void testToStringUnknownFields () throws Exception
 
void testUnpairedSurrogatesReplacedByQuestionMark () throws InvalidProtocolBufferException
 

Private Member Functions

void assertEqualsAndHashCodeAreFalse (Object o1, Object o2)
 
boolean contains (ByteString a, ByteString b)
 
String encodeHex (ByteString bytes)
 

Static Private Member Functions

static void assertToStringEquals (String expected, MessageLite message)
 

Detailed Description

Test lite runtime.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

Definition at line 77 of file LiteTest.java.

Member Function Documentation

◆ assertEqualsAndHashCodeAreFalse()

void com.google.protobuf.LiteTest.assertEqualsAndHashCodeAreFalse ( Object  o1,
Object  o2 
)
inlineprivate

Definition at line 2103 of file LiteTest.java.

◆ assertToStringEquals()

static void com.google.protobuf.LiteTest.assertToStringEquals ( String  expected,
MessageLite  message 
)
inlinestaticprivate

Definition at line 1536 of file LiteTest.java.

◆ contains()

boolean com.google.protobuf.LiteTest.contains ( ByteString  a,
ByteString  b 
)
inlineprivate

Definition at line 2455 of file LiteTest.java.

◆ encodeHex()

String com.google.protobuf.LiteTest.encodeHex ( ByteString  bytes)
inlineprivate

Definition at line 2445 of file LiteTest.java.

◆ setUp()

void com.google.protobuf.LiteTest.setUp ( ) throws Exception
inline

Definition at line 79 of file LiteTest.java.

◆ testAddAll()

void com.google.protobuf.LiteTest.testAddAll ( )
inline

Definition at line 170 of file LiteTest.java.

◆ testAddAllIteratesOnce()

void com.google.protobuf.LiteTest.testAddAllIteratesOnce ( )
inline

Definition at line 2212 of file LiteTest.java.

◆ testAddAllIteratesOnce_throwsOnNull()

void com.google.protobuf.LiteTest.testAddAllIteratesOnce_throwsOnNull ( )
inline

Definition at line 2233 of file LiteTest.java.

◆ testBuilderMergeFromNull()

void com.google.protobuf.LiteTest.testBuilderMergeFromNull ( ) throws Exception
inline

Definition at line 1318 of file LiteTest.java.

◆ testBuilderMergeFromWithExtensions()

void com.google.protobuf.LiteTest.testBuilderMergeFromWithExtensions ( ) throws Exception
inline

Definition at line 1328 of file LiteTest.java.

◆ testBuilderMergeFromWithUnknownFields()

void com.google.protobuf.LiteTest.testBuilderMergeFromWithUnknownFields ( ) throws Exception
inline

Definition at line 1347 of file LiteTest.java.

◆ testClone()

void com.google.protobuf.LiteTest.testClone ( )
inline

Definition at line 158 of file LiteTest.java.

◆ testEquals()

void com.google.protobuf.LiteTest.testEquals ( ) throws Exception
inline

Definition at line 1990 of file LiteTest.java.

◆ testEquals_notEqual()

void com.google.protobuf.LiteTest.testEquals_notEqual ( ) throws Exception
inline

Definition at line 1624 of file LiteTest.java.

◆ testEquals_oneOfMessages()

void com.google.protobuf.LiteTest.testEquals_oneOfMessages ( )
inline

Definition at line 2072 of file LiteTest.java.

◆ testEquals_sanity()

void com.google.protobuf.LiteTest.testEquals_sanity ( ) throws Exception
inline

Definition at line 2031 of file LiteTest.java.

◆ testEqualsAndHashCodeForTrickySchemaTypes()

void com.google.protobuf.LiteTest.testEqualsAndHashCodeForTrickySchemaTypes ( )
inline

Definition at line 2010 of file LiteTest.java.

◆ testEqualsAndHashCodeWithExtensions()

void com.google.protobuf.LiteTest.testEqualsAndHashCodeWithExtensions ( ) throws InvalidProtocolBufferException
inline

Definition at line 2058 of file LiteTest.java.

◆ testEqualsAndHashCodeWithUnknownFields()

void com.google.protobuf.LiteTest.testEqualsAndHashCodeWithUnknownFields ( ) throws InvalidProtocolBufferException
inline

Definition at line 2042 of file LiteTest.java.

◆ testExtensionRenamesKeywords()

void com.google.protobuf.LiteTest.testExtensionRenamesKeywords ( )
inline

Definition at line 2342 of file LiteTest.java.

◆ testHugeFieldNumbers()

void com.google.protobuf.LiteTest.testHugeFieldNumbers ( ) throws InvalidProtocolBufferException
inline

Definition at line 2084 of file LiteTest.java.

◆ testLite()

void com.google.protobuf.LiteTest.testLite ( ) throws Exception
inline

Definition at line 89 of file LiteTest.java.

◆ testLite_unknownEnumAtListBoundary()

void com.google.protobuf.LiteTest.testLite_unknownEnumAtListBoundary ( ) throws Exception
inline

Definition at line 115 of file LiteTest.java.

◆ testLiteExtensions()

void com.google.protobuf.LiteTest.testLiteExtensions ( ) throws Exception
inline

Definition at line 129 of file LiteTest.java.

◆ testMemoization()

void com.google.protobuf.LiteTest.testMemoization ( ) throws Exception
inline

Definition at line 179 of file LiteTest.java.

◆ testMergeFrom_sanity()

void com.google.protobuf.LiteTest.testMergeFrom_sanity ( ) throws Exception
inline

Definition at line 1601 of file LiteTest.java.

◆ testMergeFromNoLazyFieldSharing()

void com.google.protobuf.LiteTest.testMergeFromNoLazyFieldSharing ( ) throws Exception
inline

Definition at line 1613 of file LiteTest.java.

◆ testMergeFromStream_invalidBytes()

void com.google.protobuf.LiteTest.testMergeFromStream_invalidBytes ( ) throws Exception
inline

Definition at line 1592 of file LiteTest.java.

◆ testMergeFromStream_repeatedField()

void com.google.protobuf.LiteTest.testMergeFromStream_repeatedField ( ) throws Exception
inline

Definition at line 1585 of file LiteTest.java.

◆ testNullExtensionRegistry()

void com.google.protobuf.LiteTest.testNullExtensionRegistry ( ) throws Exception
inline

Definition at line 2397 of file LiteTest.java.

◆ testOneofEquals()

void com.google.protobuf.LiteTest.testOneofEquals ( ) throws Exception
inline

Definition at line 2021 of file LiteTest.java.

◆ testPackedSerialization()

void com.google.protobuf.LiteTest.testPackedSerialization ( ) throws Exception
inline

Definition at line 2197 of file LiteTest.java.

◆ testParseFromByteBuffer()

void com.google.protobuf.LiteTest.testParseFromByteBuffer ( ) throws Exception
inline

Definition at line 2113 of file LiteTest.java.

◆ testParseFromByteBuffer_extensions()

void com.google.protobuf.LiteTest.testParseFromByteBuffer_extensions ( ) throws Exception
inline

Definition at line 2148 of file LiteTest.java.

◆ testParseFromByteBufferThrows()

void com.google.protobuf.LiteTest.testParseFromByteBufferThrows ( )
inline

Definition at line 2127 of file LiteTest.java.

◆ testParseFromByteBufferThrows_extensions()

void com.google.protobuf.LiteTest.testParseFromByteBufferThrows_extensions ( )
inline

Definition at line 2168 of file LiteTest.java.

◆ testParseLazy()

void com.google.protobuf.LiteTest.testParseLazy ( ) throws Exception
inline

Definition at line 1547 of file LiteTest.java.

◆ testParseLazy_oneOf()

void com.google.protobuf.LiteTest.testParseLazy_oneOf ( ) throws Exception
inline

Definition at line 1566 of file LiteTest.java.

◆ testRecursiveHashcode()

void com.google.protobuf.LiteTest.testRecursiveHashcode ( )
inline

Definition at line 2108 of file LiteTest.java.

◆ testSanityCopyOnWrite()

void com.google.protobuf.LiteTest.testSanityCopyOnWrite ( ) throws InvalidProtocolBufferException
inline

Definition at line 204 of file LiteTest.java.

◆ testSerializeToOutputStreamThrowsIOException()

void com.google.protobuf.LiteTest.testSerializeToOutputStreamThrowsIOException ( )
inline

Definition at line 2405 of file LiteTest.java.

◆ testToStringDefaultInstance()

void com.google.protobuf.LiteTest.testToStringDefaultInstance ( ) throws Exception
inline

Definition at line 1357 of file LiteTest.java.

◆ testToStringExtensions()

void com.google.protobuf.LiteTest.testToStringExtensions ( ) throws Exception
inline

Definition at line 1442 of file LiteTest.java.

◆ testToStringForeignFields()

void com.google.protobuf.LiteTest.testToStringForeignFields ( ) throws Exception
inline

Definition at line 1429 of file LiteTest.java.

◆ testToStringGroup()

void com.google.protobuf.LiteTest.testToStringGroup ( ) throws Exception
inline

Definition at line 1482 of file LiteTest.java.

◆ testToStringLazyMessage()

void com.google.protobuf.LiteTest.testToStringLazyMessage ( ) throws Exception
inline

Definition at line 1474 of file LiteTest.java.

◆ testToStringMapFields()

void com.google.protobuf.LiteTest.testToStringMapFields ( ) throws Exception
inline

Definition at line 1495 of file LiteTest.java.

◆ testToStringNestedMessage()

void com.google.protobuf.LiteTest.testToStringNestedMessage ( ) throws Exception
inline

Definition at line 1397 of file LiteTest.java.

◆ testToStringOneof()

void com.google.protobuf.LiteTest.testToStringOneof ( ) throws Exception
inline

Definition at line 1490 of file LiteTest.java.

◆ testToStringPrimitives()

void com.google.protobuf.LiteTest.testToStringPrimitives ( ) throws Exception
inline

Definition at line 1367 of file LiteTest.java.

◆ testToStringRepeatedFields()

void com.google.protobuf.LiteTest.testToStringRepeatedFields ( ) throws Exception
inline

Definition at line 1411 of file LiteTest.java.

◆ testToStringScalarFieldsSuffixedWithList()

void com.google.protobuf.LiteTest.testToStringScalarFieldsSuffixedWithList ( ) throws Exception
inline

Definition at line 1361 of file LiteTest.java.

◆ testToStringStringFields()

void com.google.protobuf.LiteTest.testToStringStringFields ( ) throws Exception
inline

Definition at line 1388 of file LiteTest.java.

◆ testToStringUnknownFields()

void com.google.protobuf.LiteTest.testToStringUnknownFields ( ) throws Exception
inline

Definition at line 1457 of file LiteTest.java.

◆ testUnpairedSurrogatesReplacedByQuestionMark()

void com.google.protobuf.LiteTest.testUnpairedSurrogatesReplacedByQuestionMark ( ) throws InvalidProtocolBufferException
inline

Definition at line 2423 of file LiteTest.java.


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


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