Unit tests for map fields.
Definition at line 47 of file MapForProto2LiteTest.java.
◆ assertMapContainsSetValues()
void com.google.protobuf.MapForProto2LiteTest.assertMapContainsSetValues |
( |
TestMapOrBuilder |
testMapOrBuilder | ) |
|
|
inlineprivate |
◆ assertMapCounts()
void com.google.protobuf.MapForProto2LiteTest.assertMapCounts |
( |
int |
expectedCount, |
|
|
TestMapOrBuilder |
testMapOrBuilder |
|
) |
| |
|
inlineprivate |
◆ assertMapsAreImmutable()
void com.google.protobuf.MapForProto2LiteTest.assertMapsAreImmutable |
( |
TestMapOrBuilder |
testMapOrBuilder | ) |
|
|
inlineprivate |
◆ assertMapValuesCleared()
void com.google.protobuf.MapForProto2LiteTest.assertMapValuesCleared |
( |
TestMapOrBuilder |
testMapOrBuilder | ) |
|
|
inlineprivate |
◆ assertMapValuesSet()
void com.google.protobuf.MapForProto2LiteTest.assertMapValuesSet |
( |
TestMap |
message | ) |
|
|
inlineprivate |
◆ assertMapValuesUpdated()
void com.google.protobuf.MapForProto2LiteTest.assertMapValuesUpdated |
( |
TestMap |
message | ) |
|
|
inlineprivate |
◆ copyMapValues()
void com.google.protobuf.MapForProto2LiteTest.copyMapValues |
( |
TestMap |
source, |
|
|
TestMap.Builder |
destination |
|
) |
| |
|
inlineprivate |
◆ doTestGetOrDefault()
void com.google.protobuf.MapForProto2LiteTest.doTestGetOrDefault |
( |
TestMapOrBuilder |
testMapOrBuilder | ) |
|
|
inline |
◆ doTestGetOrThrow()
void com.google.protobuf.MapForProto2LiteTest.doTestGetOrThrow |
( |
TestMapOrBuilder |
testMapOrBuilder | ) |
|
|
inline |
◆ newMap() [1/2]
static <K, V> Map<K, V> com.google.protobuf.MapForProto2LiteTest.newMap |
( |
K |
key1, |
|
|
V |
value1 |
|
) |
| |
|
inlinestaticprivate |
◆ newMap() [2/2]
static <K, V> Map<K, V> com.google.protobuf.MapForProto2LiteTest.newMap |
( |
K |
key1, |
|
|
V |
value1, |
|
|
K |
key2, |
|
|
V |
value2 |
|
) |
| |
|
inlinestaticprivate |
◆ setMapValues()
◆ testContains()
void com.google.protobuf.MapForProto2LiteTest.testContains |
( |
| ) |
|
|
inline |
◆ testCount()
void com.google.protobuf.MapForProto2LiteTest.testCount |
( |
| ) |
|
|
inline |
◆ testEqualsAndHashCode()
void com.google.protobuf.MapForProto2LiteTest.testEqualsAndHashCode |
( |
| ) |
throws Exception |
|
inline |
◆ testGetMap()
void com.google.protobuf.MapForProto2LiteTest.testGetMap |
( |
| ) |
|
|
inline |
◆ testGetMapIsImmutable()
void com.google.protobuf.MapForProto2LiteTest.testGetMapIsImmutable |
( |
| ) |
|
|
inline |
◆ testGetOrDefault()
void com.google.protobuf.MapForProto2LiteTest.testGetOrDefault |
( |
| ) |
|
|
inline |
◆ testGetOrThrow()
void com.google.protobuf.MapForProto2LiteTest.testGetOrThrow |
( |
| ) |
|
|
inline |
◆ testGettersAndSetters()
void com.google.protobuf.MapForProto2LiteTest.testGettersAndSetters |
( |
| ) |
throws Exception |
|
inline |
◆ testIterationOrder()
void com.google.protobuf.MapForProto2LiteTest.testIterationOrder |
( |
| ) |
throws Exception |
|
inline |
◆ testMergeFrom()
void com.google.protobuf.MapForProto2LiteTest.testMergeFrom |
( |
| ) |
throws Exception |
|
inline |
◆ testMutableMapLifecycle()
void com.google.protobuf.MapForProto2LiteTest.testMutableMapLifecycle |
( |
| ) |
|
|
inline |
◆ testParseError()
void com.google.protobuf.MapForProto2LiteTest.testParseError |
( |
| ) |
throws Exception |
|
inline |
◆ testPut()
void com.google.protobuf.MapForProto2LiteTest.testPut |
( |
| ) |
|
|
inline |
◆ testPutAll()
void com.google.protobuf.MapForProto2LiteTest.testPutAll |
( |
| ) |
throws Exception |
|
inline |
◆ testPutChecksNullKeysAndValues()
void com.google.protobuf.MapForProto2LiteTest.testPutChecksNullKeysAndValues |
( |
| ) |
throws Exception |
|
inline |
◆ testRemove()
void com.google.protobuf.MapForProto2LiteTest.testRemove |
( |
| ) |
|
|
inline |
◆ testSanityCopyOnWrite()
◆ testSerializeAndParse()
void com.google.protobuf.MapForProto2LiteTest.testSerializeAndParse |
( |
| ) |
throws Exception |
|
inline |
◆ testSetMapValues()
void com.google.protobuf.MapForProto2LiteTest.testSetMapValues |
( |
| ) |
|
|
inline |
◆ testUnknownEnumValues()
void com.google.protobuf.MapForProto2LiteTest.testUnknownEnumValues |
( |
| ) |
throws Exception |
|
inline |
◆ testUpdateMapValues()
void com.google.protobuf.MapForProto2LiteTest.testUpdateMapValues |
( |
| ) |
|
|
inline |
◆ tryParseTestMap()
TestMap com.google.protobuf.MapForProto2LiteTest.tryParseTestMap |
( |
BizarroTestMap |
bizarroMap | ) |
throws IOException |
|
inlineprivate |
◆ updateMapValues()
The documentation for this class was generated from the following file: