Home
last modified time | relevance | path

Searched refs:getList (Results 1 – 25 of 79) sorted by relevance

1234

/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListSubListTester.java50 getList().subList(-1, 0); in testSubList_startNegative()
58 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
66 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
81 emptyList(), getList().subList(0, 0)); in testSubList_empty()
86 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
92 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal()
102 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal()
111 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal()
119 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal()
129 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList()
[all …]
DListAddAtIndexTester.java46 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent()
58 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent()
67 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent()
76 getList().add(0, samples.e3); in testAddAtIndexConcurrentWithIteration()
87 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent()
98 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle()
105 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end()
112 getList().add(0, null); in testAddAtIndex_nullSupported()
120 getList().add(0, null); in testAddAtIndex_nullUnsupported()
132 getList().add(-1, samples.e3); in testAddAtIndex_negative()
[all …]
DListSetTester.java64 E initialValue = getList().get(index); in doTestSet()
66 initialValue, getList().set(index, newValue)); in doTestSet()
68 newValue, getList().get(index)); in doTestSet()
70 getNumElements(), getList().size()); in doTestSet()
76 getList().set(-1, samples.e3); in testSet_indexTooLow()
87 getList().set(index, samples.e3); in testSet_indexTooHigh()
98 getList().set(aValidIndex(), samples.e3); in testSet_unsupported()
109 getList().set(0, samples.e3); in testSet_unsupportedByEmptyList()
123 getList().set(aValidIndex(), null); in testSet_nullUnsupported()
131 return getList().size() / 2; in aValidIndex()
DListListIteratorTester.java77 return getList().listIterator(); in runListIteratorTest()
88 getList().listIterator(-1); in testListIterator_tooLow()
96 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh()
103 getList().listIterator(getNumElements()); in testListIterator_atSize()
DListAddTester.java43 assertTrue("add(present) should return true", getList().add(samples.e0)); in testAdd_supportedPresent()
55 getList().add(samples.e0); in testAdd_unsupportedPresent()
66 assertTrue("add(nullPresent) should return true", getList().add(null)); in testAdd_supportedNullPresent()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListSubListTester.java54 getList().subList(-1, 0); in testSubList_startNegative()
62 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
70 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
85 emptyList(), getList().subList(0, 0)); in testSubList_empty()
90 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
96 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal()
106 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal()
115 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal()
123 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal()
133 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList()
[all …]
DListAddAllAtIndexTester.java47 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent()
55 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent()
66 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent()
74 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent()
85 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
93 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
104 getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
113 getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
126 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
139 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DListSetTester.java68 E initialValue = getList().get(index); in doTestSet()
70 initialValue, getList().set(index, newValue)); in doTestSet()
72 newValue, getList().get(index)); in doTestSet()
74 getNumElements(), getList().size()); in doTestSet()
80 getList().set(-1, samples.e3); in testSet_indexTooLow()
91 getList().set(index, samples.e3); in testSet_indexTooHigh()
102 getList().set(aValidIndex(), samples.e3); in testSet_unsupported()
113 getList().set(0, samples.e3); in testSet_unsupportedByEmptyList()
127 getList().set(aValidIndex(), null); in testSet_nullUnsupported()
135 return getList().size() / 2; in aValidIndex()
DListAddAtIndexTester.java49 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent()
61 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent()
70 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent()
79 getList().add(0, samples.e3); in testAddAtIndexConcurrentWithIteration()
90 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent()
101 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle()
108 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end()
115 getList().add(0, null); in testAddAtIndex_nullSupported()
123 getList().add(0, null); in testAddAtIndex_nullUnsupported()
135 getList().add(-1, samples.e3); in testAddAtIndex_negative()
[all …]
DListEqualsTester.java40 getList().equals(new ArrayList<E>(getOrderedElements()))); in testEquals_otherListWithSameElements()
49 getList().equals(other)); in testEquals_otherListWithDifferentElements()
58 getList().equals(other)); in testEquals_otherListContainingNull()
70 getList().equals(other)); in testEquals_containingNull()
77 getList().equals(new ArrayList<E>(fewerElements))); in testEquals_shorterList()
83 getList().equals(new ArrayList<E>(moreElements))); in testEquals_longerList()
88 getList().equals(MinimalSet.from(getList()))); in testEquals_set()
DListRemoveTester.java43 int firstIndex = getList().indexOf(duplicate); in testRemove_duplicate()
44 int initialSize = getList().size(); in testRemove_duplicate()
46 getList().remove(duplicate)); in testRemove_duplicate()
48 + "the duplicate element", getList().contains(duplicate)); in testRemove_duplicate()
51 firstIndex == getList().indexOf(duplicate)); in testRemove_duplicate()
53 initialSize - 1, getList().size()); in testRemove_duplicate()
DListRemoveAtIndexTester.java47 getList().remove(0); in testRemoveAtIndex_unsupported()
57 getList().remove(-1); in testRemoveAtIndex_negative()
67 getList().remove(getNumElements()); in testRemoveAtIndex_tooLarge()
92 getList().remove(getNumElements() / 2); in testRemoveAtIndexConcurrentWithIteration()
109 getList().get(index), getList().remove(index)); in runRemoveTest()
DListToArrayTester.java38 Object[] actual = getList().toArray(); in testToArray_noArg()
45 Object[] actual = getList().toArray(new Object[0]); in testToArray_tooSmall()
51 Object[] actual = getList().toArray(new Object[getNumElements()]); in testToArray_largeEnough()
DAbstractListTester.java38 protected final List<E> getList() { in getList() method in AbstractListTester
52 if (getList().size() != expectedList.size()) { in expectContents()
57 E actual = getList().get(i); in expectContents()
DListListIteratorTester.java80 return getList().listIterator(); in runListIteratorTest()
91 getList().listIterator(-1); in testListIterator_tooLow()
99 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh()
106 getList().listIterator(getNumElements()); in testListIterator_atSize()
DListAddAllTester.java41 getList().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent()
49 getList().addAll(MinimalCollection.of(samples.e0)); in testAddAll_unsupportedAllPresent()
61 getList().addAll(elementsToAdd)); in testAddAll_withDuplicates()
DListAddTester.java45 assertTrue("add(present) should return true", getList().add(samples.e0)); in testAdd_supportedPresent()
57 getList().add(samples.e0); in testAdd_unsupportedPresent()
68 assertTrue("add(nullPresent) should return true", getList().add(null)); in testAdd_supportedNullPresent()
DListGetTester.java37 getList().get(-1); in testGet_negative()
45 getList().get(getNumElements()); in testGet_tooLarge()
DListIndexOfTester.java37 return getList().indexOf(o); in find()
51 0, getList().indexOf(samples.e0)); in testIndexOf_duplicate()
DListRemoveAllTester.java46 getList().removeAll(MinimalCollection.of(duplicate))); in testRemoveAll_duplicate()
49 getList().contains(duplicate)); in testRemoveAll_duplicate()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/
DGenericListBeanTest.java31 listProvider.getList().add("foo"); in testGenericList()
32 listProvider.getList().add("bar"); in testGenericList()
39 assertEquals("foo", listProvider2.getList().get(0)); in testGenericList()
40 assertEquals("bar", listProvider2.getList().get(1)); in testGenericList()
50 listProvider.getList().add(foo); in testGenericBean()
54 listProvider.getList().add(bar); in testGenericBean()
62 Bean foo2 = (Bean) listProvider2.getList().get(0); in testGenericBean()
65 Bean bar2 = (Bean) listProvider2.getList().get(1); in testGenericBean()
73 public List<T> getList() { in getList() method in GenericListBeanTest.ListProvider
85 return list.equals(((ListProvider) obj).getList()); in equals()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DArrayListTest.java41 assertEquals(3, loaded.getList().size()); in testListImplementation()
42 assertEquals(ArrayList.class, loaded.getList().getClass()); in testListImplementation()
49 public ArrayList<String> getList() { in getList() method in ArrayListTest.Bean1
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyMetaInfo.java106 return collector.getList(); in collect()
206 public List<CurrencyInfo> getList() { in getList() method in ICUCurrencyMetaInfo.InfoCollector
227 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.RegionCollector
244 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.CurrencyCollector
278 List<T> getList(); in getList() method
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java104 return collector.getList(); in collect()
204 public List<CurrencyInfo> getList() { in getList() method in ICUCurrencyMetaInfo.InfoCollector
225 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.RegionCollector
242 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.CurrencyCollector
276 List<T> getList(); in getList() method
/external/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h46 static RegisterRegAlloc *getList() { in getList() function
47 return (RegisterRegAlloc *)Registry.getList(); in getList()

1234