Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSliceOpTest.java66 exerciseOps(Collections.emptyList(), s -> s.skip(0), Collections.emptyList()); in testSkip()
67 exerciseOps(Collections.emptyList(), s -> s.skip(10), Collections.emptyList()); in testSkip()
70 exerciseOps(countTo(1), s -> s.skip(1), Collections.emptyList()); in testSkip()
73 exerciseOps(countTo(100), s -> s.skip(100), Collections.emptyList()); in testSkip()
74 exerciseOps(countTo(100), s -> s.skip(200), Collections.emptyList()); in testSkip()
88 exerciseOps(Collections.emptyList(), s -> s.limit(0), Collections.emptyList()); in testLimit()
89 exerciseOps(Collections.emptyList(), s -> s.limit(10), Collections.emptyList()); in testLimit()
90 exerciseOps(countTo(1), s -> s.limit(0), Collections.emptyList()); in testLimit()
92 exerciseOps(countTo(100), s -> s.limit(0), Collections.emptyList()); in testLimit()
101 exerciseOps(Collections.emptyList(), s -> s.skip(0).limit(0), Collections.emptyList()); in testSkipLimit()
[all …]
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneRulesTest.java42 assertEquals(Collections.emptyList(), zoneRules.getTransitionRules()); in test_of_ZoneOffset()
43 assertEquals(Collections.emptyList(), zoneRules.getTransitions()); in test_of_ZoneOffset()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXRevocationChecker.java101 private List<Extension> ocspExtensions = Collections.<Extension>emptyList();
171 ? Collections.<Extension>emptyList() in setOcspExtensions()
/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java58 private List<String> extlangs = Collections.emptyList(); // extlang subtags
59 private List<String> variants = Collections.emptyList(); // variant subtags
60 private List<String> extensions = Collections.emptyList(); // extensions
552 return Collections.emptyList(); in getExtlangs()
567 return Collections.emptyList(); in getVariants()
574 return Collections.emptyList(); in getExtensions()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLParameters.java359 return Collections.<SNIServerName>emptyList(); in getServerNames()
434 return Collections.<SNIMatcher>emptyList(); in getSNIMatchers()
/libcore/tools/upstream/src/main/java/libcore/
DLines.java31 public static Lines EMPTY = new Lines(Collections.emptyList());
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/
DCloseGuardSupportTest.java39 assertEquals(Collections.emptyList(), failures); in testDoesReleaseResource()
54 assertEquals(Collections.emptyList(), failures); in testDoesReleaseResourceTwice()
/libcore/luni/src/test/java/libcore/xml/
DNormalizeTest.java456 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersCdata()
477 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersText()
496 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersAttribute()
517 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersComment()
538 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); in testInvalidCharactersProcessingInstructionData()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystem.java163 List<Path> disallowed = Collections.emptyList(); in getRootDirectories()
254 return Collections.emptyList();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSPRequest.java97 this.extensions = Collections.<Extension>emptyList(); in OCSPRequest()
DOCSP.java133 Collections.<Extension>emptyList()); in check()
160 Collections.<Extension>emptyList()); in check()
DX509CertPath.java189 return Collections.<X509Certificate>emptyList(); in parsePKIPATH()
DPKIX.java125 certs = Collections.emptyList(); in certificates()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java464 List<Object> emptyList = Collections.emptyList(); in test_emptyList() local
465 assertEquals(0, emptyList.size()); in test_emptyList()
466 assertTrue(emptyList instanceof RandomAccess); in test_emptyList()
/libcore/ojluni/src/main/java/java/lang/
DThrowable.java239 private List<Throwable> suppressedExceptions = Collections.emptyList();
958 suppressed = Collections.emptyList(); in readObject()
/libcore/ojluni/src/main/java/sun/security/x509/
DSubjectInfoAccessExtension.java205 Collections.<AccessDescription>emptyList(); in delete()
DPolicyMappingsExtension.java105 maps = Collections.<CertificatePolicyMap>emptyList(); in PolicyMappingsExtension()
DCRLDistributionPointsExtension.java260 Collections.<DistributionPoint>emptyList(); in delete()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java383 return Collections.emptyList(); in getValidOffsets()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodOverridesTest.java52 assertEquals(Collections.<Class<?>>emptyList(), Arrays.asList(method.getExceptionTypes())); in testThrownExceptions()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeTest.java77 return Nodes.node(Collections.emptyList()); in degenerateTree()
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java244 assertEquals(Collections.<HttpCookie>emptyList(), cookieStore.cookies); in testNonMatchingDomainsRejected()
272 Collections.<HttpCookie>emptyList(), cookieStore.cookies); // RI6 fails this in testNonMatchingPathsRejected()
535 assertEquals(Collections.<URI>emptyList(), cookieStore.getURIs()); in testCookieStoreNullUris()
540 assertEquals(Collections.<URI>emptyList(), cookieStore.getURIs()); in testCookieStoreNullUris()
541 assertEquals(Collections.<HttpCookie>emptyList(), cookieStore.getCookies()); in testCookieStoreNullUris()
548 assertEquals(Collections.<URI>emptyList(), cookieStore.getURIs()); in testCookieStoreRemoveAll()
549 assertEquals(Collections.<HttpCookie>emptyList(), cookieStore.getCookies()); in testCookieStoreRemoveAll()
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java88 testEmptyIterator(Collections.emptyList().iterator()); in testEmptyIterator()
112 testEmptyListIterator(Collections.emptyList().listIterator()); in testEmptyListIterator()
113 testEmptyListIterator(Collections.emptyList().listIterator(0)); in testEmptyListIterator()
1374 Collections.emptyList().replaceAll(k -> 1); in test_EmptyList_replaceAll()
1377 Collections.emptyList().replaceAll(null); in test_EmptyList_replaceAll()
1384 Collections.emptyList().sort((k1, k2) -> 1); in test_EmptyList_sort()
/libcore/ojluni/src/main/java/java/net/
DCookieManager.java299 cookies = java.util.Collections.emptyList(); in put()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java118 …vate static final Enumeration EMPTY_ENUMERATION = Collections.enumeration(Collections.emptyList());

12