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 testAdd ()
 
void testAddAll ()
 
void testAddAll ()
 
void testEmptyListIsImmutable ()
 
void testEmptyListIsImmutable ()
 
void testEmptyListReturnsSameInstance ()
 
void testEmptyListReturnsSameInstance ()
 
void testGet ()
 
void testGet ()
 
void testMakeImmutable ()
 
void testMakeImmutable ()
 
void testModificationWithIteration ()
 
void testModificationWithIteration ()
 
void testRemove ()
 
void testRemove ()
 
void testSet ()
 
void testSet ()
 
void testSize ()
 
void testSize ()
 

Protected Member Functions

void setUp () throws Exception
 
void setUp () throws Exception
 

Private Member Functions

void assertImmutable (List< Integer > list)
 
void assertImmutable (List< Integer > list)
 

Static Private Member Functions

static ProtobufArrayList< Integer > newImmutableProtoArrayList (int... elements)
 
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 bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java.

Member Function Documentation

◆ assertImmutable() [1/2]

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

◆ assertImmutable() [2/2]

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

◆ newImmutableProtoArrayList() [1/2]

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

◆ newImmutableProtoArrayList() [2/2]

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

◆ setUp() [1/2]

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

◆ setUp() [2/2]

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

◆ testAdd() [1/2]

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

◆ testAdd() [2/2]

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

◆ testAddAll() [1/2]

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

◆ testAddAll() [2/2]

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

◆ testEmptyListIsImmutable() [1/2]

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

◆ testEmptyListIsImmutable() [2/2]

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

◆ testEmptyListReturnsSameInstance() [1/2]

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

◆ testEmptyListReturnsSameInstance() [2/2]

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

◆ testGet() [1/2]

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

◆ testGet() [2/2]

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

◆ testMakeImmutable() [1/2]

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

◆ testMakeImmutable() [2/2]

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

◆ testModificationWithIteration() [1/2]

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

◆ testModificationWithIteration() [2/2]

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

◆ testRemove() [1/2]

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

◆ testRemove() [2/2]

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

◆ testSet() [1/2]

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

◆ testSet() [2/2]

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

◆ testSize() [1/2]

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

◆ testSize() [2/2]

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

Member Data Documentation

◆ list

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

◆ TERTIARY_LIST

static final ProtobufArrayList< Integer > com.google.protobuf.ProtobufArrayListTest.TERTIARY_LIST
staticprivate

◆ UNARY_LIST

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07