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

Public Member Functions

void testAddAllCopiesByReferenceIfPossible ()
 
void testConversionBackAndForth ()
 
void testCopyConstructorCopiesByReference ()
 
void testImmutabilityPropagation ()
 
void testJustByteString ()
 
void testJustStrings ()
 
void testListCopyConstructor ()
 
void testMakeImmutable ()
 
void testModificationWithIteration ()
 

Static Private Member Functions

static< T > void assertGenericListImmutable (List< T > list, T value)
 

Static Private Attributes

static final ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A")
 
static final ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B")
 
static final ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C")
 
static final String STRING_A = "A"
 
static final String STRING_B = "B"
 
static final String STRING_C = "C"
 

Detailed Description

Tests for LazyStringArrayList.

Author
jonp@.nosp@m.goog.nosp@m.le.co.nosp@m.m (Jon Perlow)

Definition at line 47 of file core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java.

Member Function Documentation

◆ assertGenericListImmutable()

static <T> void com.google.protobuf.LazyStringArrayListTest.assertGenericListImmutable ( List< T list,
T  value 
)
inlinestaticprivate

◆ testAddAllCopiesByReferenceIfPossible()

void com.google.protobuf.LazyStringArrayListTest.testAddAllCopiesByReferenceIfPossible ( )
inline

◆ testConversionBackAndForth()

void com.google.protobuf.LazyStringArrayListTest.testConversionBackAndForth ( )
inline

◆ testCopyConstructorCopiesByReference()

void com.google.protobuf.LazyStringArrayListTest.testCopyConstructorCopiesByReference ( )
inline

◆ testImmutabilityPropagation()

void com.google.protobuf.LazyStringArrayListTest.testImmutabilityPropagation ( )
inline

◆ testJustByteString()

void com.google.protobuf.LazyStringArrayListTest.testJustByteString ( )
inline

◆ testJustStrings()

void com.google.protobuf.LazyStringArrayListTest.testJustStrings ( )
inline

◆ testListCopyConstructor()

void com.google.protobuf.LazyStringArrayListTest.testListCopyConstructor ( )
inline

◆ testMakeImmutable()

void com.google.protobuf.LazyStringArrayListTest.testMakeImmutable ( )
inline

◆ testModificationWithIteration()

void com.google.protobuf.LazyStringArrayListTest.testModificationWithIteration ( )
inline

Member Data Documentation

◆ BYTE_STRING_A

final ByteString com.google.protobuf.LazyStringArrayListTest.BYTE_STRING_A = ByteString.copyFromUtf8("A")
staticprivate

◆ BYTE_STRING_B

final ByteString com.google.protobuf.LazyStringArrayListTest.BYTE_STRING_B = ByteString.copyFromUtf8("B")
staticprivate

◆ BYTE_STRING_C

final ByteString com.google.protobuf.LazyStringArrayListTest.BYTE_STRING_C = ByteString.copyFromUtf8("C")
staticprivate

◆ STRING_A

final String com.google.protobuf.LazyStringArrayListTest.STRING_A = "A"
staticprivate

◆ STRING_B

final String com.google.protobuf.LazyStringArrayListTest.STRING_B = "B"
staticprivate

◆ STRING_C

final String com.google.protobuf.LazyStringArrayListTest.STRING_C = "C"
staticprivate

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


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