Home
last modified time | relevance | path

Searched refs:SOME_COLLECTION (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DListsTest.java64 private static final Collection<Integer> SOME_COLLECTION = asList(0, 1, 1); field in ListsTest
78 return SOME_COLLECTION.iterator(); in iterator()
355 assertEquals(SOME_COLLECTION, list); in testNewArrayListVarArgs()
367 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection()
368 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromCollection()
373 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterable()
377 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator()
378 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterator()
387 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); in testNewLinkedListFromCollection()
388 assertEquals(SOME_COLLECTION, list); in testNewLinkedListFromCollection()
[all …]
DSetsTest.java96 private static final Collection<Integer> SOME_COLLECTION = Arrays.asList(0, 1, 1); field in SetsTest
102 return SOME_COLLECTION.iterator();
450 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
451 verifySetContents(set, SOME_COLLECTION);
470 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator());
471 verifySetContents(set, SOME_COLLECTION);
480 Set<Integer> set = Sets.newConcurrentHashSet(SOME_COLLECTION);
481 verifySetContents(set, SOME_COLLECTION);
540 TreeSet<Integer> set = Sets.newTreeSet(SOME_COLLECTION);
541 verifySortedSetContents(set, SOME_COLLECTION, null);
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DListsTest.java64 private static final Collection<Integer> SOME_COLLECTION = asList(0, 1, 1); field in ListsTest
78 return SOME_COLLECTION.iterator(); in iterator()
355 assertEquals(SOME_COLLECTION, list); in testNewArrayListVarArgs()
367 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection()
368 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromCollection()
373 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterable()
377 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator()
378 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterator()
387 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); in testNewLinkedListFromCollection()
388 assertEquals(SOME_COLLECTION, list); in testNewLinkedListFromCollection()
[all …]
DSetsTest.java95 private static final Collection<Integer> SOME_COLLECTION = Arrays.asList(0, 1, 1); field in SetsTest
101 return SOME_COLLECTION.iterator();
438 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
439 verifySetContents(set, SOME_COLLECTION);
458 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator());
459 verifySetContents(set, SOME_COLLECTION);
468 Set<Integer> set = Sets.newConcurrentHashSet(SOME_COLLECTION);
469 verifySetContents(set, SOME_COLLECTION);
528 TreeSet<Integer> set = Sets.newTreeSet(SOME_COLLECTION);
529 verifySortedSetContents(set, SOME_COLLECTION, null);
[all …]