/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ImmutableBiMapTest.java | 185 assertMapEquals(map, "one", 1); in testSingletonBuilder() 186 assertMapEquals(map.inverse(), 1, "one"); in testSingletonBuilder() 192 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 204 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder() 205 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder() 233 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder_orderEntriesByValue() 234 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder_orderEntriesByValue() 243 assertMapEquals(keyOrdered, "four", 4, "one", 1); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 244 assertMapEquals(valueOrdered, "one", 1, "four", 4); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 274 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilderPutAll() [all …]
|
D | ImmutableSortedMapTest.java | 302 assertMapEquals(map, "one", 1); in testSingletonBuilder() 314 assertMapEquals(map, "five", 5, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilder() 331 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 371 assertMapEquals(builder.build(), "one", 1); in testBuilder_withMutableEntry() 396 assertMapEquals(map, "five", 5, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilderPutAll() 404 assertMapEquals(mapOne, "one", 1, "two", 2); in testBuilderReuse() 405 assertMapEquals(mapTwo, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilderReuse() 458 assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1); in testOf() 459 assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2); in testOf() 460 assertMapEquals( in testOf() [all …]
|
D | ImmutableMapTest.java | 325 assertMapEquals(map, "one", 1); in testSingletonBuilder() 337 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder() 365 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder_orderEntriesByValue() 374 assertMapEquals(keyOrdered, "four", 4, "one", 1); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 375 assertMapEquals(valueOrdered, "one", 1, "four", 4); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 391 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 431 assertMapEquals(builder.build(), "one", 1); in testBuilder_withMutableEntry() 451 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilderPutAll() 459 assertMapEquals(mapOne, "one", 1, "two", 2); in testBuilderReuse() 460 assertMapEquals(mapTwo, "one", 1, "two", 2, "three", 3, "four", 4); in testBuilderReuse() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableBiMapTest.java | 216 assertMapEquals(map, "one", 1); in testSingletonBuilder() 217 assertMapEquals(map.inverse(), 1, "one"); in testSingletonBuilder() 223 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 235 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder() 236 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder() 264 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder_orderEntriesByValue() 265 assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); in testBuilder_orderEntriesByValue() 274 assertMapEquals(keyOrdered, "four", 4, "one", 1); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 275 assertMapEquals(valueOrdered, "one", 1, "four", 4); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 305 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilderPutAll() [all …]
|
D | ImmutableSortedMapTest.java | 308 assertMapEquals(map, "one", 1); in testSingletonBuilder() 320 assertMapEquals(map, "five", 5, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilder() 337 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 377 assertMapEquals(builder.build(), "one", 1); in testBuilder_withMutableEntry() 402 assertMapEquals(map, "five", 5, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilderPutAll() 410 assertMapEquals(mapOne, "one", 1, "two", 2); in testBuilderReuse() 411 assertMapEquals(mapTwo, "four", 4, "one", 1, "three", 3, "two", 2); in testBuilderReuse() 464 assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1); in testOf() 465 assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2); in testOf() 466 assertMapEquals( in testOf() [all …]
|
D | ImmutableMapTest.java | 356 assertMapEquals(map, "one", 1); in testSingletonBuilder() 368 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder() 396 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilder_orderEntriesByValue() 405 assertMapEquals(keyOrdered, "four", 4, "one", 1); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 406 assertMapEquals(valueOrdered, "one", 1, "four", 4); in testBuilder_orderEntriesByValueAfterExactSizeBuild() 422 assertMapEquals(map, "one", 1); in testBuilder_withImmutableEntry() 462 assertMapEquals(builder.build(), "one", 1); in testBuilder_withMutableEntry() 482 assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); in testBuilderPutAll() 490 assertMapEquals(mapOne, "one", 1, "two", 2); in testBuilderReuse() 491 assertMapEquals(mapTwo, "one", 1, "two", 2, "three", 3, "four", 4); in testBuilderReuse() [all …]
|