Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DListsTest.java67 private static final Collection<Integer> SOME_COLLECTION field in ListsTest
75 return SOME_COLLECTION.iterator(); in iterator()
343 assertEquals(SOME_COLLECTION, list); in testNewArrayListVarArgs()
356 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); in testNewArrayListFromCollection()
357 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromCollection()
362 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterable()
366 ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); in testNewArrayListFromIterator()
367 assertEquals(SOME_COLLECTION, list); in testNewArrayListFromIterator()
376 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); in testNewLinkedListFromCollection()
377 assertEquals(SOME_COLLECTION, list); in testNewLinkedListFromCollection()
[all …]
DSetsTest.java94 private static final Collection<Integer> SOME_COLLECTION field in SetsTest
101 return SOME_COLLECTION.iterator();
364 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
365 verifySetContents(set, SOME_COLLECTION);
384 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator());
385 verifySetContents(set, SOME_COLLECTION);
441 TreeSet<Integer> set = Sets.newTreeSet(SOME_COLLECTION);
442 verifySortedSetContents(set, SOME_COLLECTION, null);
546 set.addAll(SOME_COLLECTION);
547 verifySetContents(set, SOME_COLLECTION);
[all …]