Home
last modified time | relevance | path

Searched refs:emptyList (Results 1 – 25 of 200) sorted by relevance

12345678

/external/testng/src/test/java/org/testng/internal/
DUtilsTest.java8 import static java.util.Collections.emptyList;
31 List<String> emptyList = emptyList(); in createEmptyStringWhenJoiningEmptyListWithJoin() local
32 assertEquals("", join(emptyList, ",")); in createEmptyStringWhenJoiningEmptyListWithJoin()
43 List<String> emptyList = emptyList(); in createEmptyStringWhenJoiningEmptyListWithJoinStrings() local
44 assertEquals("", Utils.join(emptyList, ",")); in createEmptyStringWhenJoiningEmptyListWithJoinStrings()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java21 import static java.util.Collections.emptyList;
229 List<Integer> emptyList = newArrayList(); in testMissingException() local
232 new IteratorTester<Integer>(1, MODIFIABLE, emptyList, in testMissingException()
267 List<Integer> emptyList = emptyList(); in testSimilarException() local
269 new IteratorTester<Integer>(1, MODIFIABLE, emptyList, in testSimilarException()
292 List<Integer> emptyList = emptyList(); in testMismatchedException() local
294 new IteratorTester<Integer>(1, MODIFIABLE, emptyList, in testMismatchedException()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DPeekingIteratorTest.java22 import static java.util.Collections.emptyList;
90 actsLikeIteratorHelper(Collections.emptyList()); in testPeekingIteratorBehavesLikeIteratorOnEmptyIterable()
100 List<?> list = Collections.emptyList(); in testPeekOnEmptyList()
216 List<Integer> list = emptyList(); in testPeekingIteratorDoesntAdvancePrematurely()
DListsTest.java107 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty()
112 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity()
115 assertEquals(Collections.emptyList(), bigger); in testNewArrayListWithCapacity()
128 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize()
131 assertEquals(Collections.emptyList(), bigger); in testNewArrayListWithExpectedSize()
173 assertEquals(Collections.emptyList(), list); in testNewLinkedListEmpty()
302 assertEquals(Collections.emptyList(), fromList); in assertReverseView()
402 assertEquals(Collections.emptyList(), list); in assertTransformModifiable()
435 assertEquals(Collections.emptyList(), fromList); in assertTransformView()
562 List<Integer> source = Collections.emptyList(); in testPartition_empty()
DIterablesTest.java25 import static java.util.Collections.emptyList;
145 Iterable<String> iterable = Collections.emptyList();
168 Iterable<String> iterable = Collections.emptyList();
173 Iterable<String> iterable = Collections.emptyList();
493 List<String> list = Collections.emptyList();
520 Iterable<String> emptyList = Collections.emptyList();
521 assertTrue(Iterables.isEmpty(emptyList));
541 assertEquals(emptyList(), newArrayList(skip(set, 20)));
546 assertEquals(emptyList(), newArrayList(skip(list, 20)));
670 testGetOnEmpty(Collections.<String>emptyList());
[all …]
DCollections2Test.java170 Collections2.permutations(Collections.<Integer>emptyList()); in testPermutationSetEmpty()
173 assertTrue(permutationSet.contains(Collections.<Integer> emptyList())); in testPermutationSetEmpty()
176 assertNextPermutation(Collections.<Integer> emptyList(), permutations); in testPermutationSetEmpty()
271 Collections2.permutations(Collections.<Integer>emptyList())); in testPermutationSetSize()
/external/guava/guava-tests/test/com/google/common/collect/
DPeekingIteratorTest.java22 import static java.util.Collections.emptyList;
91 actsLikeIteratorHelper(Collections.emptyList()); in testPeekingIteratorBehavesLikeIteratorOnEmptyIterable()
110 List<?> list = Collections.emptyList(); in testPeekOnEmptyList()
226 List<Integer> list = emptyList(); in testPeekingIteratorDoesntAdvancePrematurely()
DIterablesTest.java26 import static java.util.Collections.emptyList;
151 Iterable<String> iterable = Collections.emptyList();
174 Iterable<String> iterable = Collections.emptyList();
179 Iterable<String> iterable = Collections.emptyList();
194 Iterable<String> iterable = Collections.emptyList();
558 List<String> list = Collections.emptyList();
585 Iterable<String> emptyList = Collections.emptyList();
586 assertTrue(Iterables.isEmpty(emptyList));
606 assertEquals(emptyList(), newArrayList(skip(set, 20)));
611 assertEquals(emptyList(), newArrayList(skip(list, 20)));
[all …]
DForwardingMultimapTest.java84 forward.remove("asfd", Collections.<Boolean>emptyList()); in testPutAll_Key_Iterable()
94 forward.replaceValues("key", Collections.<Boolean>emptyList()); in testReplaceValues_Key_Iterable()
DListsTest.java276 assertEquals(Collections.emptyList(), list); in testNewArrayListEmpty()
281 assertEquals(Collections.emptyList(), list); in testNewArrayListWithCapacity()
284 assertEquals(Collections.emptyList(), bigger); in testNewArrayListWithCapacity()
297 assertEquals(Collections.emptyList(), list); in testNewArrayListWithExpectedSize()
300 assertEquals(Collections.emptyList(), bigger); in testNewArrayListWithExpectedSize()
342 assertEquals(Collections.emptyList(), list); in testNewLinkedListEmpty()
358 assertEquals(Collections.emptyList(), list); in testNewCOWALEmpty()
526 assertEquals(Collections.emptyList(), fromList); in assertReverseView()
626 assertEquals(Collections.emptyList(), list); in assertTransformModifiable()
659 assertEquals(Collections.emptyList(), fromList); in assertTransformView()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMarker.java92 List<Marker> emptyList = Collections.emptyList(); in iterator() local
93 return emptyList.iterator(); in iterator()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DMultiReportVisitorTest.java93 final Collection<IPackageCoverage> packages = Collections.emptyList(); in createBundle()
100 final List<SessionInfo> sessions = Collections.emptyList(); in createMockReport()
101 final List<ExecutionData> executionData = Collections.emptyList(); in createMockReport()
DReportStructureTestDriver.java39 private final List<SessionInfo> sessions = Collections.emptyList();
42 .emptyList();
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/
DUnicodeSetTest.java45 assertEquals(0, UnicodeSet.EMPTY.compareTo(Collections.emptyList())); in testCompareTo()
49 assertTrue(UnicodeSet.ALL_CODE_POINTS.compareTo(Collections.emptyList()) > 0); in testCompareTo()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DBundleCheckerTest.java98 assertEquals(Collections.emptyList(), messages); in testGroupLimitNotSupported()
110 assertEquals(Collections.emptyList(), messages); in testLimitOk()
118 assertEquals(Collections.emptyList(), messages); in testBundleNoMatch()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java59 : Collections.<Certificate>emptyList(); in get()
64 : Collections.<Certificate>emptyList(); in get()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestSelection.java126 List emptyList = new ArrayList(); in TestCharsetSelectorCodeCoverage() local
133 sel = new CharsetSelector(emptyList, nonEmptySet, CharsetICU.ROUNDTRIP_SET); in TestCharsetSelectorCodeCoverage()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DBundleCoverageImpl.java89 c = Collections.emptyList(); in groupByPackage()
93 s = Collections.emptyList(); in groupByPackage()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java463 return Collections.emptyList(); in currencyInfo()
475 return Collections.emptyList(); in currencies()
487 return Collections.emptyList(); in regions()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java504 return Collections.emptyList(); in currencyInfo()
517 return Collections.emptyList(); in currencies()
530 return Collections.emptyList(); in regions()
/external/testng/src/main/java/org/testng/xml/
DXmlInclude.java28 this(n, Collections.<Integer> emptyList(), 0); in XmlInclude()
32 this(n, Collections.<Integer> emptyList(), index); in XmlInclude()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java77 List <NameValuePair> result = Collections.emptyList(); in parse()
100 List <NameValuePair> result = Collections.emptyList(); in parse()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DSessionsPageTest.java35 private final List<SessionInfo> noSessions = Collections.emptyList();
38 .emptyList();
/external/guice/examples/src/example/xml/
DFlashMemory.java8 return Collections.emptyList(); in findByName()
DSimCard.java8 return Collections.emptyList(); in findByName()

12345678