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

Public Member Functions

void testAdd ()
 
void testAddAll ()
 
void testEmptyListIsImmutable ()
 
void testEmptyListReturnsSameInstance ()
 
void testGet ()
 
void testMakeImmutable ()
 
void testModificationWithIteration ()
 
void testRemove ()
 
void testSet ()
 
void testSize ()
 

Protected Member Functions

void setUp () throws Exception
 

Private Member Functions

void assertImmutable (List< Integer > list)
 

Static Private Member Functions

static ProtobufArrayList< Integer > newImmutableProtoArrayList (int... elements)
 

Private Attributes

ProtobufArrayList< Integer > list
 

Static Private Attributes

static final ProtobufArrayList< Integer > TERTIARY_LIST
 
static final ProtobufArrayList< Integer > UNARY_LIST = newImmutableProtoArrayList(1)
 

Detailed Description

Tests for ProtobufArrayList.

Definition at line 42 of file ProtobufArrayListTest.java.

Member Function Documentation

◆ assertImmutable()

void com.google.protobuf.ProtobufArrayListTest.assertImmutable ( List< Integer >  list)
inlineprivate

Definition at line 245 of file ProtobufArrayListTest.java.

◆ newImmutableProtoArrayList()

static ProtobufArrayList<Integer> com.google.protobuf.ProtobufArrayListTest.newImmutableProtoArrayList ( int...  elements)
inlinestaticprivate

Definition at line 384 of file ProtobufArrayListTest.java.

◆ setUp()

void com.google.protobuf.ProtobufArrayListTest.setUp ( ) throws Exception
inlineprotected

Definition at line 51 of file ProtobufArrayListTest.java.

◆ testAdd()

void com.google.protobuf.ProtobufArrayListTest.testAdd ( )
inline

Definition at line 179 of file ProtobufArrayListTest.java.

◆ testAddAll()

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

Definition at line 210 of file ProtobufArrayListTest.java.

◆ testEmptyListIsImmutable()

void com.google.protobuf.ProtobufArrayListTest.testEmptyListIsImmutable ( )
inline

Definition at line 59 of file ProtobufArrayListTest.java.

◆ testEmptyListReturnsSameInstance()

void com.google.protobuf.ProtobufArrayListTest.testEmptyListReturnsSameInstance ( )
inline

Definition at line 55 of file ProtobufArrayListTest.java.

◆ testGet()

void com.google.protobuf.ProtobufArrayListTest.testGet ( )
inline

Definition at line 134 of file ProtobufArrayListTest.java.

◆ testMakeImmutable()

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

Definition at line 97 of file ProtobufArrayListTest.java.

◆ testModificationWithIteration()

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

Definition at line 63 of file ProtobufArrayListTest.java.

◆ testRemove()

void com.google.protobuf.ProtobufArrayListTest.testRemove ( )
inline

Definition at line 106 of file ProtobufArrayListTest.java.

◆ testSet()

void com.google.protobuf.ProtobufArrayListTest.testSet ( )
inline

Definition at line 154 of file ProtobufArrayListTest.java.

◆ testSize()

void com.google.protobuf.ProtobufArrayListTest.testSize ( )
inline

Definition at line 227 of file ProtobufArrayListTest.java.

Member Data Documentation

◆ list

ProtobufArrayList<Integer> com.google.protobuf.ProtobufArrayListTest.list
private

Definition at line 48 of file ProtobufArrayListTest.java.

◆ TERTIARY_LIST

final ProtobufArrayList<Integer> com.google.protobuf.ProtobufArrayListTest.TERTIARY_LIST
staticprivate
Initial value:

Definition at line 45 of file ProtobufArrayListTest.java.

◆ UNARY_LIST

final ProtobufArrayList<Integer> com.google.protobuf.ProtobufArrayListTest.UNARY_LIST = newImmutableProtoArrayList(1)
staticprivate

Definition at line 44 of file ProtobufArrayListTest.java.


The documentation for this class was generated from the following file:
com.google.protobuf.ProtobufArrayListTest.newImmutableProtoArrayList
static ProtobufArrayList< Integer > newImmutableProtoArrayList(int... elements)
Definition: ProtobufArrayListTest.java:384


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