/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ProtobufArrayListTest.java | 60 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable() 103 assertImmutable(list); in testMakeImmutable() 245 private void assertImmutable(List<Integer> list) { in assertImmutable() method in ProtobufArrayListTest
|
D | LongArrayListTest.java | 63 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable() 72 assertImmutable(list); in testMakeImmutable() 327 private void assertImmutable(LongList list) { in assertImmutable() method in LongArrayListTest
|
D | DoubleArrayListTest.java | 63 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable() 72 assertImmutable(list); in testMakeImmutable() 329 private void assertImmutable(DoubleList list) { in assertImmutable() method in DoubleArrayListTest
|
D | FloatArrayListTest.java | 63 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable() 72 assertImmutable(list); in testMakeImmutable() 329 private void assertImmutable(FloatList list) { in assertImmutable() method in FloatArrayListTest
|
D | BooleanArrayListTest.java | 64 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable() 73 assertImmutable(list); in testMakeImmutable() 329 private void assertImmutable(BooleanList list) { in assertImmutable() method in BooleanArrayListTest
|
D | IntArrayListTest.java | 63 assertImmutable(IntArrayList.emptyList()); in testEmptyListIsImmutable() 72 assertImmutable(list); in testMakeImmutable() 327 private void assertImmutable(IntList list) { in assertImmutable() method in IntArrayListTest
|
D | MapForProto2LiteTest.java | 229 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable() 230 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable() 231 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable() 232 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable() 233 assertImmutable( in assertMapsAreImmutable() 235 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable() 238 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapForProto2LiteTest
|
D | MapLiteTest.java | 235 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable() 236 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable() 237 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable() 238 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable() 239 assertImmutable( in assertMapsAreImmutable() 241 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable() 244 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapLiteTest
|
D | MapForProto2Test.java | 296 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable() 297 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable() 298 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable() 299 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable() 300 assertImmutable( in assertMapsAreImmutable() 302 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable() 305 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapForProto2Test
|
D | MapTest.java | 299 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable() 300 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable() 301 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable() 302 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable() 303 assertImmutable( in assertMapsAreImmutable() 305 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable() 308 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapTest
|