/libcore/luni/src/test/java/libcore/java/net/ |
D | CookiesMCompatibilityTest.java | 39 Collections.singletonList("a=b; domain=chargepoint.com")); in testCookiesWithoutLeadingPeriod() 56 Collections.singletonList("b=c; domain=.chargepoint.com;")); in testCookiesWithLeadingPeriod() 63 assertEquals(Collections.singletonList("b=c"), cookieList); in testCookiesWithLeadingPeriod()
|
D | CookiesTest.java | 39 Collections.singletonList("foo=bar")); in testCookiesWithLeadingPeriod() 49 assertEquals(Collections.singletonList("foo=bar"), cookieList); in testCookiesWithLeadingPeriod()
|
D | AbstractCookiesTest.java | 409 result.put("Cookie", Collections.singletonList("Bar=bar")); in testHeadersSentToCookieHandler() 410 result.put("Cookie2", Collections.singletonList("Baz=baz")); in testHeadersSentToCookieHandler() 411 result.put("Quux", Collections.singletonList("quux")); in testHeadersSentToCookieHandler() 458 result.put("COOKIE", Collections.singletonList("Bar=bar")); in testCookiesSentIgnoresCase() 459 result.put("cooKIE2", Collections.singletonList("Baz=baz")); in testCookiesSentIgnoresCase() 1496 cookies = Collections.singletonList(cookie); in setNextCookie() 1535 Collections.singletonList("foo=bar")); in testCookieWithNoPeriod() 1545 assertEquals(Collections.singletonList("foo=bar"), cookieList); in testCookieWithNoPeriod()
|
D | FtpURLConnectionTest.java | 342 return Collections.singletonList(proxy); in select()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamBuilderTest.java | 82 expectedResult(Collections.singletonList(1)). in testSingleton() 87 expectedResult(Collections.singletonList(1)). in testSingleton() 144 expectedResult(Collections.singletonList(1)). in testIntSingleton() 149 expectedResult(Collections.singletonList(1)). in testIntSingleton() 206 expectedResult(Collections.singletonList(1L)). in testLongSingleton() 211 expectedResult(Collections.singletonList(1L)). in testLongSingleton() 267 expectedResult(Collections.singletonList(1.0)). in testDoubleSingleton() 272 expectedResult(Collections.singletonList(1.0)). in testDoubleSingleton()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | KeyStoreBuilderParameters.java | 54 parameters = Collections.singletonList(Objects.requireNonNull(builder)); in KeyStoreBuilderParameters()
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | ZoneRulesTest.java | 61 assertEquals(Collections.singletonList(offset), in test_of_ZoneOffset()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSPRequest.java | 92 this(Collections.singletonList(certId)); in OCSPRequest()
|
D | OCSP.java | 131 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check() 179 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check()
|
D | RevocationChecker.java | 709 response.verify(Collections.singletonList(certId), issuerCert, 722 response = OCSP.check(Collections.singletonList(certId), 826 points = Collections.singletonList(point);
|
D | URICertStore.java | 442 return Collections.singletonList(crl); in getMatchingCRLs()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleLanguageRangeTest.java | 183 map.put("zh-HK", Collections.singletonList("zh-HK")); in testMapEquivalents_exampleFromDocumentation() 184 map.put("zh-TW", Collections.singletonList("zh-TW")); in testMapEquivalents_exampleFromDocumentation()
|
D | CollectionsTest.java | 283 Spliterator<String> sp = Collections.singletonList("spiff").spliterator(); in testSingletonSpliterator() 1471 Collections.singletonList(1).replaceAll(k -> 2); in test_SingletonList_replaceAll() 1478 Collections.singletonList(1).sort((k1, k2) -> 2); in test_SingletonList_sort()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | CollectionUtilsTest.java | 86 assertEquals(Collections.singletonList("A"), list); in testRemoveDuplicatesOnSingletonCollection()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | Collection8Test.java | 60 assertEquals(Collections.singletonList(x), found); in testForEach()
|
D | ConcurrentHashMapTest.java | 155 assertTrue(m.containsKey(Collections.singletonList(new BI(i)))); in testGenericComparable() 169 m.put(Collections.singletonList(new BI(i)), true); in testGenericComparable2()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | PKIXRevocationCheckerTest.java | 100 checker.setOcspExtensions(Collections.singletonList(new Extension() { in test_getOcspExtensions()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | DexClassLoaderTest.java | 363 classLoader.addNativePath(Collections.singletonList(path)); in test_oneDex_addNative_findsLibrary()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | Collections2Test.java | 513 testCollectionForEach(Collections.singletonList(new Integer(0))); in test_Collection_forEach()
|
D | CollectionsTest.java | 1960 List single = Collections.singletonList(str); in test_singletonListLjava_lang_Object() 1964 assertFalse(Collections.singletonList(null).contains(str)); in test_singletonListLjava_lang_Object() 1965 assertTrue(Collections.singletonList(null).contains(null)); in test_singletonListLjava_lang_Object()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRules.java | 592 return Collections.singletonList((ZoneOffset) info); in getValidOffsets()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 71 …public static final Function<Integer, Stream<Integer>> mfId = e -> Collections.singletonList(e).st…
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 70 …public static final Function<Integer, Stream<Integer>> mfId = e -> Collections.singletonList(e).st…
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 146 …l public static <T> java.util.List<@libcore.util.NullFromTypeParam T> singletonList(@libcore.util.… in singletonList() method in Collections
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 203 return Collections.<TemporalUnit>singletonList(YEARS); in factory_from_TemporalAmount_Years_tooBig()
|