/external/testng/src/test/java/org/testng/internal/ |
D | UtilsTest.java | 8 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/ |
D | IteratorTesterTest.java | 21 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/ |
D | PeekingIteratorTest.java | 22 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()
|
D | ListsTest.java | 107 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()
|
D | IterablesTest.java | 25 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 …]
|
D | Collections2Test.java | 170 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/ |
D | PeekingIteratorTest.java | 22 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()
|
D | IterablesTest.java | 26 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 …]
|
D | ForwardingMultimapTest.java | 84 forward.remove("asfd", Collections.<Boolean>emptyList()); in testPutAll_Key_Iterable() 94 forward.replaceValues("key", Collections.<Boolean>emptyList()); in testReplaceValues_Key_Iterable()
|
D | ListsTest.java | 276 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/ |
D | BasicMarker.java | 92 List<Marker> emptyList = Collections.emptyList(); in iterator() local 93 return emptyList.iterator(); in iterator()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | MultiReportVisitorTest.java | 93 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()
|
D | ReportStructureTestDriver.java | 39 private final List<SessionInfo> sessions = Collections.emptyList(); 42 .emptyList();
|
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/ |
D | UnicodeSetTest.java | 45 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/ |
D | BundleCheckerTest.java | 98 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/ |
D | Handshake.java | 59 : Collections.<Certificate>emptyList(); in get() 64 : Collections.<Certificate>emptyList(); in get()
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestSelection.java | 126 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/ |
D | BundleCoverageImpl.java | 89 c = Collections.emptyList(); in groupByPackage() 93 s = Collections.emptyList(); in groupByPackage()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 463 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/ |
D | CurrencyMetaInfo.java | 504 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/ |
D | XmlInclude.java | 28 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/ |
D | URLEncodedUtils.java | 77 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/ |
D | SessionsPageTest.java | 35 private final List<SessionInfo> noSessions = Collections.emptyList(); 38 .emptyList();
|
/external/guice/examples/src/example/xml/ |
D | FlashMemory.java | 8 return Collections.emptyList(); in findByName()
|
D | SimCard.java | 8 return Collections.emptyList(); in findByName()
|