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.LongArrayListTest Class Reference
Inheritance diagram for com.google.protobuf.LongArrayListTest:
Inheritance graph
[legend]

Public Member Functions

void setUp () throws Exception
 
void testAdd ()
 
void testAdd ()
 
void testAddAll ()
 
void testAddAll ()
 
void testAddLong ()
 
void testAddLong ()
 
void testContains_incompatibleElementType ()
 
void testContains_inList ()
 
void testContains_inListWithDuplicates_matchAtHead ()
 
void testContains_inListWithDuplicates_matchMidList ()
 
void testContains_notInList ()
 
void testContains_notInListWithDuplicates ()
 
void testContains_nullElement ()
 
void testEmptyListIsImmutable ()
 
void testEmptyListIsImmutable ()
 
void testEmptyListReturnsSameInstance ()
 
void testEmptyListReturnsSameInstance ()
 
void testEquals ()
 
void testEquals ()
 
void testGet ()
 
void testGet ()
 
void testGetLong ()
 
void testGetLong ()
 
void testIndexOf_incompatibleElementType ()
 
void testIndexOf_inList ()
 
void testIndexOf_inListWithDuplicates_matchAtHead ()
 
void testIndexOf_inListWithDuplicates_matchMidList ()
 
void testIndexOf_notInList ()
 
void testIndexOf_notInListWithDuplicates ()
 
void testIndexOf_nullElement ()
 
void testMakeImmutable ()
 
void testMakeImmutable ()
 
void testModificationWithIteration ()
 
void testModificationWithIteration ()
 
void testRemove ()
 
void testRemove ()
 
void testRemove_listAtCapacity ()
 
void testRemove_listAtCapacity ()
 
void testRemoveEnd_listAtCapacity ()
 
void testRemoveEnd_listAtCapacity ()
 
void testSet ()
 
void testSet ()
 
void testSetLong ()
 
void testSetLong ()
 
void testSize ()
 
void testSize ()
 
void testSublistRemoveEndOfCapacity ()
 
void testSublistRemoveEndOfCapacity ()
 

Protected Member Functions

void setUp () throws Exception
 

Private Member Functions

void assertImmutable (LongList list)
 
void assertImmutable (LongList list)
 

Static Private Member Functions

static LongArrayList newImmutableLongArrayList (long... elements)
 
static LongArrayList newImmutableLongArrayList (long... elements)
 

Private Attributes

LongArrayList list
 

Static Private Attributes

static final LongArrayList TERTIARY_LIST = newImmutableLongArrayList(1, 2, 3)
 
static final LongArrayList UNARY_LIST = newImmutableLongArrayList(1)
 

Detailed Description

Tests for LongArrayList.

Author
dweis.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Daniel Weis)

Tests for LongArrayList.

Definition at line 46 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/LongArrayListTest.java.

Member Function Documentation

◆ assertImmutable() [1/2]

void com.google.protobuf.LongArrayListTest.assertImmutable ( LongList  list)
inlineprivate

◆ assertImmutable() [2/2]

void com.google.protobuf.LongArrayListTest.assertImmutable ( LongList  list)
inlineprivate

◆ newImmutableLongArrayList() [1/2]

static LongArrayList com.google.protobuf.LongArrayListTest.newImmutableLongArrayList ( long...  elements)
inlinestaticprivate

◆ newImmutableLongArrayList() [2/2]

static LongArrayList com.google.protobuf.LongArrayListTest.newImmutableLongArrayList ( long...  elements)
inlinestaticprivate

◆ setUp() [1/2]

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

◆ setUp() [2/2]

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

◆ testAdd() [1/2]

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

◆ testAdd() [2/2]

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

◆ testAddAll() [1/2]

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

◆ testAddAll() [2/2]

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

◆ testAddLong() [1/2]

void com.google.protobuf.LongArrayListTest.testAddLong ( )
inline

◆ testAddLong() [2/2]

void com.google.protobuf.LongArrayListTest.testAddLong ( )
inline

◆ testContains_incompatibleElementType()

void com.google.protobuf.LongArrayListTest.testContains_incompatibleElementType ( )
inline

◆ testContains_inList()

void com.google.protobuf.LongArrayListTest.testContains_inList ( )
inline

◆ testContains_inListWithDuplicates_matchAtHead()

void com.google.protobuf.LongArrayListTest.testContains_inListWithDuplicates_matchAtHead ( )
inline

◆ testContains_inListWithDuplicates_matchMidList()

void com.google.protobuf.LongArrayListTest.testContains_inListWithDuplicates_matchMidList ( )
inline

◆ testContains_notInList()

void com.google.protobuf.LongArrayListTest.testContains_notInList ( )
inline

◆ testContains_notInListWithDuplicates()

void com.google.protobuf.LongArrayListTest.testContains_notInListWithDuplicates ( )
inline

◆ testContains_nullElement()

void com.google.protobuf.LongArrayListTest.testContains_nullElement ( )
inline

◆ testEmptyListIsImmutable() [1/2]

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

◆ testEmptyListIsImmutable() [2/2]

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

◆ testEmptyListReturnsSameInstance() [1/2]

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

◆ testEmptyListReturnsSameInstance() [2/2]

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

◆ testEquals() [1/2]

void com.google.protobuf.LongArrayListTest.testEquals ( )
inline

◆ testEquals() [2/2]

void com.google.protobuf.LongArrayListTest.testEquals ( )
inline

◆ testGet() [1/2]

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

◆ testGet() [2/2]

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

◆ testGetLong() [1/2]

void com.google.protobuf.LongArrayListTest.testGetLong ( )
inline

◆ testGetLong() [2/2]

void com.google.protobuf.LongArrayListTest.testGetLong ( )
inline

◆ testIndexOf_incompatibleElementType()

void com.google.protobuf.LongArrayListTest.testIndexOf_incompatibleElementType ( )
inline

◆ testIndexOf_inList()

void com.google.protobuf.LongArrayListTest.testIndexOf_inList ( )
inline

◆ testIndexOf_inListWithDuplicates_matchAtHead()

void com.google.protobuf.LongArrayListTest.testIndexOf_inListWithDuplicates_matchAtHead ( )
inline

◆ testIndexOf_inListWithDuplicates_matchMidList()

void com.google.protobuf.LongArrayListTest.testIndexOf_inListWithDuplicates_matchMidList ( )
inline

◆ testIndexOf_notInList()

void com.google.protobuf.LongArrayListTest.testIndexOf_notInList ( )
inline

◆ testIndexOf_notInListWithDuplicates()

void com.google.protobuf.LongArrayListTest.testIndexOf_notInListWithDuplicates ( )
inline

◆ testIndexOf_nullElement()

void com.google.protobuf.LongArrayListTest.testIndexOf_nullElement ( )
inline

◆ testMakeImmutable() [1/2]

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

◆ testMakeImmutable() [2/2]

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

◆ testModificationWithIteration() [1/2]

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

◆ testModificationWithIteration() [2/2]

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

◆ testRemove() [1/2]

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

◆ testRemove() [2/2]

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

◆ testRemove_listAtCapacity() [1/2]

void com.google.protobuf.LongArrayListTest.testRemove_listAtCapacity ( )
inline

◆ testRemove_listAtCapacity() [2/2]

void com.google.protobuf.LongArrayListTest.testRemove_listAtCapacity ( )
inline

◆ testRemoveEnd_listAtCapacity() [1/2]

void com.google.protobuf.LongArrayListTest.testRemoveEnd_listAtCapacity ( )
inline

◆ testRemoveEnd_listAtCapacity() [2/2]

void com.google.protobuf.LongArrayListTest.testRemoveEnd_listAtCapacity ( )
inline

◆ testSet() [1/2]

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

◆ testSet() [2/2]

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

◆ testSetLong() [1/2]

void com.google.protobuf.LongArrayListTest.testSetLong ( )
inline

◆ testSetLong() [2/2]

void com.google.protobuf.LongArrayListTest.testSetLong ( )
inline

◆ testSize() [1/2]

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

◆ testSize() [2/2]

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

◆ testSublistRemoveEndOfCapacity() [1/2]

void com.google.protobuf.LongArrayListTest.testSublistRemoveEndOfCapacity ( )
inline

◆ testSublistRemoveEndOfCapacity() [2/2]

void com.google.protobuf.LongArrayListTest.testSublistRemoveEndOfCapacity ( )
inline

Member Data Documentation

◆ list

LongArrayList com.google.protobuf.LongArrayListTest.list
private

◆ TERTIARY_LIST

static final LongArrayList com.google.protobuf.LongArrayListTest.TERTIARY_LIST = newImmutableLongArrayList(1, 2, 3)
staticprivate

◆ UNARY_LIST

static final LongArrayList com.google.protobuf.LongArrayListTest.UNARY_LIST = newImmutableLongArrayList(1)
staticprivate

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


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