Home
last modified time | relevance | path

Searched refs:assertImmutable (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DProtobufArrayListTest.java63 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable()
106 assertImmutable(list); in testMakeImmutable()
142 private void assertImmutable(List<Integer> list) { in assertImmutable() method in ProtobufArrayListTest
DFloatArrayListTest.java65 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable()
74 assertImmutable(list); in testMakeImmutable()
301 private void assertImmutable(FloatArrayList list) { in assertImmutable() method in FloatArrayListTest
DLongArrayListTest.java65 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable()
74 assertImmutable(list); in testMakeImmutable()
301 private void assertImmutable(LongArrayList list) { in assertImmutable() method in LongArrayListTest
DIntArrayListTest.java65 assertImmutable(IntArrayList.emptyList()); in testEmptyListIsImmutable()
74 assertImmutable(list); in testMakeImmutable()
301 private void assertImmutable(IntArrayList list) { in assertImmutable() method in IntArrayListTest
DBooleanArrayListTest.java65 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable()
74 assertImmutable(list); in testMakeImmutable()
301 private void assertImmutable(BooleanArrayList list) { in assertImmutable() method in BooleanArrayListTest
DDoubleArrayListTest.java65 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable()
74 assertImmutable(list); in testMakeImmutable()
301 private void assertImmutable(DoubleArrayList list) { in assertImmutable() method in DoubleArrayListTest
DMapForProto2LiteTest.java243 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable()
244 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable()
245 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable()
246 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable()
247 assertImmutable( in assertMapsAreImmutable()
249 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable()
252 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapForProto2LiteTest
DMapForProto2Test.java305 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable()
306 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable()
307 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable()
308 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable()
309 assertImmutable( in assertMapsAreImmutable()
311 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable()
314 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapForProto2Test
DMapTest.java307 assertImmutable(testMapOrBuilder.getInt32ToInt32Field(), 1, 2); in assertMapsAreImmutable()
308 assertImmutable(testMapOrBuilder.getInt32ToStringField(), 1, "2"); in assertMapsAreImmutable()
309 assertImmutable(testMapOrBuilder.getInt32ToBytesField(), 1, TestUtil.toBytes("2")); in assertMapsAreImmutable()
310 assertImmutable(testMapOrBuilder.getInt32ToEnumField(), 1, TestMap.EnumValue.FOO); in assertMapsAreImmutable()
311 assertImmutable( in assertMapsAreImmutable()
313 assertImmutable(testMapOrBuilder.getStringToInt32Field(), "1", 2); in assertMapsAreImmutable()
316 private <K, V> void assertImmutable(Map<K, V> map, K key, V value) { in assertImmutable() method in MapTest