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

Public Member Functions

void doTestGetOrDefault (TestMapOrBuilder testMapOrBuilder)
 
void doTestGetOrDefault (TestMapOrBuilder testMapOrBuilder)
 
void doTestGetOrThrow (TestMapOrBuilder testMapOrBuilder)
 
void doTestGetOrThrow (TestMapOrBuilder testMapOrBuilder)
 
void testContains ()
 
void testContains ()
 
void testCount ()
 
void testCount ()
 
void testEqualsAndHashCode () throws Exception
 
void testEqualsAndHashCode () throws Exception
 
void testGetMap ()
 
void testGetMap ()
 
void testGetMapIsImmutable ()
 
void testGetMapIsImmutable ()
 
void testGetOrDefault ()
 
void testGetOrDefault ()
 
void testGetOrThrow ()
 
void testGetOrThrow ()
 
void testGettersAndSetters () throws Exception
 
void testGettersAndSetters () throws Exception
 
void testIterationOrder () throws Exception
 
void testIterationOrder () throws Exception
 
void testMap_withNulls ()
 
void testMap_withNulls ()
 
void testMapFieldClear ()
 
void testMapFieldClear ()
 
void testMergeFrom () throws Exception
 
void testMergeFrom () throws Exception
 
void testMutableMapLifecycle ()
 
void testMutableMapLifecycle ()
 
void testParseError () throws Exception
 
void testParseError () throws Exception
 
void testPut ()
 
void testPut ()
 
void testPutAll () throws Exception
 
void testPutAll () throws Exception
 
void testPutAllForUnknownEnumValues () throws Exception
 
void testPutAllForUnknownEnumValues () throws Exception
 
void testPutChecksNullKeysAndValues () throws Exception
 
void testPutChecksNullKeysAndValues () throws Exception
 
void testPutForUnknownEnumValues () throws Exception
 
void testPutForUnknownEnumValues () throws Exception
 
void testRemove ()
 
void testRemove ()
 
void testSanityCopyOnWrite () throws InvalidProtocolBufferException
 
void testSanityCopyOnWrite () throws InvalidProtocolBufferException
 
void testSerializeAndParse () throws Exception
 
void testSerializeAndParse () throws Exception
 
void testSetMapValues ()
 
void testSetMapValues ()
 
void testUnknownEnumValues () throws Exception
 
void testUnknownEnumValues () throws Exception
 
void testUpdateMapValues ()
 
void testUpdateMapValues ()
 

Private Member Functions

void assertMapContainsSetValues (TestMapOrBuilder testMapOrBuilder)
 
void assertMapContainsSetValues (TestMapOrBuilder testMapOrBuilder)
 
void assertMapCounts (int expectedCount, TestMapOrBuilder testMapOrBuilder)
 
void assertMapCounts (int expectedCount, TestMapOrBuilder testMapOrBuilder)
 
void assertMapsAreImmutable (TestMapOrBuilder testMapOrBuilder)
 
void assertMapsAreImmutable (TestMapOrBuilder testMapOrBuilder)
 
void assertMapValuesCleared (TestMapOrBuilder testMapOrBuilder)
 
void assertMapValuesCleared (TestMapOrBuilder testMapOrBuilder)
 
void assertMapValuesSet (TestMap message)
 
void assertMapValuesSet (TestMap message)
 
void assertMapValuesUpdated (TestMap message)
 
void assertMapValuesUpdated (TestMap message)
 
void copyMapValues (TestMap source, TestMap.Builder destination)
 
void copyMapValues (TestMap source, TestMap.Builder destination)
 
void setMapValues (TestMap.Builder builder)
 
void setMapValues (TestMap.Builder builder)
 
TestMap tryParseTestMap (BizarroTestMap bizarroMap) throws IOException
 
TestMap tryParseTestMap (BizarroTestMap bizarroMap) throws IOException
 
void updateMapValues (TestMap.Builder builder)
 
void updateMapValues (TestMap.Builder builder)
 

Static Private Member Functions

static< K, V > Map< K, V > newMap (K key1, V value1)
 
static< K, V > Map< K, V > newMap (K key1, V value1)
 
static< K, V > Map< K, V > newMap (K key1, V value1, K key2, V value2)
 
static< K, V > Map< K, V > newMap (K key1, V value1, K key2, V value2)
 

Detailed Description

Unit tests for map fields.

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

Member Function Documentation

◆ assertMapContainsSetValues() [1/2]

void com.google.protobuf.MapLiteTest.assertMapContainsSetValues ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapContainsSetValues() [2/2]

void com.google.protobuf.MapLiteTest.assertMapContainsSetValues ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapCounts() [1/2]

void com.google.protobuf.MapLiteTest.assertMapCounts ( int  expectedCount,
TestMapOrBuilder  testMapOrBuilder 
)
inlineprivate

◆ assertMapCounts() [2/2]

void com.google.protobuf.MapLiteTest.assertMapCounts ( int  expectedCount,
TestMapOrBuilder  testMapOrBuilder 
)
inlineprivate

◆ assertMapsAreImmutable() [1/2]

void com.google.protobuf.MapLiteTest.assertMapsAreImmutable ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapsAreImmutable() [2/2]

void com.google.protobuf.MapLiteTest.assertMapsAreImmutable ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapValuesCleared() [1/2]

void com.google.protobuf.MapLiteTest.assertMapValuesCleared ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapValuesCleared() [2/2]

void com.google.protobuf.MapLiteTest.assertMapValuesCleared ( TestMapOrBuilder  testMapOrBuilder)
inlineprivate

◆ assertMapValuesSet() [1/2]

void com.google.protobuf.MapLiteTest.assertMapValuesSet ( TestMap  message)
inlineprivate

◆ assertMapValuesSet() [2/2]

void com.google.protobuf.MapLiteTest.assertMapValuesSet ( TestMap  message)
inlineprivate

◆ assertMapValuesUpdated() [1/2]

void com.google.protobuf.MapLiteTest.assertMapValuesUpdated ( TestMap  message)
inlineprivate

◆ assertMapValuesUpdated() [2/2]

void com.google.protobuf.MapLiteTest.assertMapValuesUpdated ( TestMap  message)
inlineprivate

◆ copyMapValues() [1/2]

void com.google.protobuf.MapLiteTest.copyMapValues ( TestMap  source,
TestMap.Builder  destination 
)
inlineprivate

◆ copyMapValues() [2/2]

void com.google.protobuf.MapLiteTest.copyMapValues ( TestMap  source,
TestMap.Builder  destination 
)
inlineprivate

◆ doTestGetOrDefault() [1/2]

void com.google.protobuf.MapLiteTest.doTestGetOrDefault ( TestMapOrBuilder  testMapOrBuilder)
inline

◆ doTestGetOrDefault() [2/2]

void com.google.protobuf.MapLiteTest.doTestGetOrDefault ( TestMapOrBuilder  testMapOrBuilder)
inline

◆ doTestGetOrThrow() [1/2]

void com.google.protobuf.MapLiteTest.doTestGetOrThrow ( TestMapOrBuilder  testMapOrBuilder)
inline

◆ doTestGetOrThrow() [2/2]

void com.google.protobuf.MapLiteTest.doTestGetOrThrow ( TestMapOrBuilder  testMapOrBuilder)
inline

◆ newMap() [1/4]

static <K, V> Map<K, V> com.google.protobuf.MapLiteTest.newMap ( key1,
value1 
)
inlinestaticprivate

◆ newMap() [2/4]

static <K, V> Map<K, V> com.google.protobuf.MapLiteTest.newMap ( key1,
value1 
)
inlinestaticprivate

◆ newMap() [3/4]

static <K, V> Map<K, V> com.google.protobuf.MapLiteTest.newMap ( key1,
value1,
key2,
value2 
)
inlinestaticprivate

◆ newMap() [4/4]

static <K, V> Map<K, V> com.google.protobuf.MapLiteTest.newMap ( key1,
value1,
key2,
value2 
)
inlinestaticprivate

◆ setMapValues() [1/2]

void com.google.protobuf.MapLiteTest.setMapValues ( TestMap.Builder  builder)
inlineprivate

◆ setMapValues() [2/2]

void com.google.protobuf.MapLiteTest.setMapValues ( TestMap.Builder  builder)
inlineprivate

◆ testContains() [1/2]

void com.google.protobuf.MapLiteTest.testContains ( )
inline

◆ testContains() [2/2]

void com.google.protobuf.MapLiteTest.testContains ( )
inline

◆ testCount() [1/2]

void com.google.protobuf.MapLiteTest.testCount ( )
inline

◆ testCount() [2/2]

void com.google.protobuf.MapLiteTest.testCount ( )
inline

◆ testEqualsAndHashCode() [1/2]

void com.google.protobuf.MapLiteTest.testEqualsAndHashCode ( ) throws Exception
inline

◆ testEqualsAndHashCode() [2/2]

void com.google.protobuf.MapLiteTest.testEqualsAndHashCode ( ) throws Exception
inline

◆ testGetMap() [1/2]

void com.google.protobuf.MapLiteTest.testGetMap ( )
inline

◆ testGetMap() [2/2]

void com.google.protobuf.MapLiteTest.testGetMap ( )
inline

◆ testGetMapIsImmutable() [1/2]

void com.google.protobuf.MapLiteTest.testGetMapIsImmutable ( )
inline

◆ testGetMapIsImmutable() [2/2]

void com.google.protobuf.MapLiteTest.testGetMapIsImmutable ( )
inline

◆ testGetOrDefault() [1/2]

void com.google.protobuf.MapLiteTest.testGetOrDefault ( )
inline

◆ testGetOrDefault() [2/2]

void com.google.protobuf.MapLiteTest.testGetOrDefault ( )
inline

◆ testGetOrThrow() [1/2]

void com.google.protobuf.MapLiteTest.testGetOrThrow ( )
inline

◆ testGetOrThrow() [2/2]

void com.google.protobuf.MapLiteTest.testGetOrThrow ( )
inline

◆ testGettersAndSetters() [1/2]

void com.google.protobuf.MapLiteTest.testGettersAndSetters ( ) throws Exception
inline

◆ testGettersAndSetters() [2/2]

void com.google.protobuf.MapLiteTest.testGettersAndSetters ( ) throws Exception
inline

◆ testIterationOrder() [1/2]

void com.google.protobuf.MapLiteTest.testIterationOrder ( ) throws Exception
inline

◆ testIterationOrder() [2/2]

void com.google.protobuf.MapLiteTest.testIterationOrder ( ) throws Exception
inline

◆ testMap_withNulls() [1/2]

void com.google.protobuf.MapLiteTest.testMap_withNulls ( )
inline

◆ testMap_withNulls() [2/2]

void com.google.protobuf.MapLiteTest.testMap_withNulls ( )
inline

◆ testMapFieldClear() [1/2]

void com.google.protobuf.MapLiteTest.testMapFieldClear ( )
inline

◆ testMapFieldClear() [2/2]

void com.google.protobuf.MapLiteTest.testMapFieldClear ( )
inline

◆ testMergeFrom() [1/2]

void com.google.protobuf.MapLiteTest.testMergeFrom ( ) throws Exception
inline

◆ testMergeFrom() [2/2]

void com.google.protobuf.MapLiteTest.testMergeFrom ( ) throws Exception
inline

◆ testMutableMapLifecycle() [1/2]

void com.google.protobuf.MapLiteTest.testMutableMapLifecycle ( )
inline

◆ testMutableMapLifecycle() [2/2]

void com.google.protobuf.MapLiteTest.testMutableMapLifecycle ( )
inline

◆ testParseError() [1/2]

void com.google.protobuf.MapLiteTest.testParseError ( ) throws Exception
inline

◆ testParseError() [2/2]

void com.google.protobuf.MapLiteTest.testParseError ( ) throws Exception
inline

◆ testPut() [1/2]

void com.google.protobuf.MapLiteTest.testPut ( )
inline

◆ testPut() [2/2]

void com.google.protobuf.MapLiteTest.testPut ( )
inline

◆ testPutAll() [1/2]

void com.google.protobuf.MapLiteTest.testPutAll ( ) throws Exception
inline

◆ testPutAll() [2/2]

void com.google.protobuf.MapLiteTest.testPutAll ( ) throws Exception
inline

◆ testPutAllForUnknownEnumValues() [1/2]

void com.google.protobuf.MapLiteTest.testPutAllForUnknownEnumValues ( ) throws Exception
inline

◆ testPutAllForUnknownEnumValues() [2/2]

void com.google.protobuf.MapLiteTest.testPutAllForUnknownEnumValues ( ) throws Exception
inline

◆ testPutChecksNullKeysAndValues() [1/2]

void com.google.protobuf.MapLiteTest.testPutChecksNullKeysAndValues ( ) throws Exception
inline

◆ testPutChecksNullKeysAndValues() [2/2]

void com.google.protobuf.MapLiteTest.testPutChecksNullKeysAndValues ( ) throws Exception
inline

◆ testPutForUnknownEnumValues() [1/2]

void com.google.protobuf.MapLiteTest.testPutForUnknownEnumValues ( ) throws Exception
inline

◆ testPutForUnknownEnumValues() [2/2]

void com.google.protobuf.MapLiteTest.testPutForUnknownEnumValues ( ) throws Exception
inline

◆ testRemove() [1/2]

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

◆ testRemove() [2/2]

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

◆ testSanityCopyOnWrite() [1/2]

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

◆ testSanityCopyOnWrite() [2/2]

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

◆ testSerializeAndParse() [1/2]

void com.google.protobuf.MapLiteTest.testSerializeAndParse ( ) throws Exception
inline

◆ testSerializeAndParse() [2/2]

void com.google.protobuf.MapLiteTest.testSerializeAndParse ( ) throws Exception
inline

◆ testSetMapValues() [1/2]

void com.google.protobuf.MapLiteTest.testSetMapValues ( )
inline

◆ testSetMapValues() [2/2]

void com.google.protobuf.MapLiteTest.testSetMapValues ( )
inline

◆ testUnknownEnumValues() [1/2]

void com.google.protobuf.MapLiteTest.testUnknownEnumValues ( ) throws Exception
inline

◆ testUnknownEnumValues() [2/2]

void com.google.protobuf.MapLiteTest.testUnknownEnumValues ( ) throws Exception
inline

◆ testUpdateMapValues() [1/2]

void com.google.protobuf.MapLiteTest.testUpdateMapValues ( )
inline

◆ testUpdateMapValues() [2/2]

void com.google.protobuf.MapLiteTest.testUpdateMapValues ( )
inline

◆ tryParseTestMap() [1/2]

TestMap com.google.protobuf.MapLiteTest.tryParseTestMap ( BizarroTestMap  bizarroMap) throws IOException
inlineprivate

◆ tryParseTestMap() [2/2]

TestMap com.google.protobuf.MapLiteTest.tryParseTestMap ( BizarroTestMap  bizarroMap) throws IOException
inlineprivate

◆ updateMapValues() [1/2]

void com.google.protobuf.MapLiteTest.updateMapValues ( TestMap.Builder  builder)
inlineprivate

◆ updateMapValues() [2/2]

void com.google.protobuf.MapLiteTest.updateMapValues ( TestMap.Builder  builder)
inlineprivate

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


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