- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 493 for assertThat (0.09 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.resolve("#s")).isEqualTo(parse("http://a/b/c/d;p?q#s")) assertThat(url.resolve("g#s")).isEqualTo(parse("http://a/b/c/g#s")) assertThat(url.resolve("g?y#s")).isEqualTo(parse("http://a/b/c/g?y#s")) assertThat(url.resolve(";x")).isEqualTo(parse("http://a/b/c/;x")) assertThat(url.resolve("g;x")).isEqualTo(parse("http://a/b/c/g;x")) assertThat(url.resolve("g;x?y#s")).isEqualTo(parse("http://a/b/c/g;x?y#s"))
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
.build(), ) assertThat(cacheControl.noCache).isTrue() assertThat(cacheControl.noStore).isTrue() assertThat(cacheControl.maxAgeSeconds).isEqualTo(1) assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(2) assertThat(cacheControl.isPrivate).isTrue() assertThat(cacheControl.isPublic).isTrue() assertThat(cacheControl.mustRevalidate).isTrue() assertThat(cacheControl.maxStaleSeconds).isEqualTo(3)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
.url("https://square.com") .build() assertThat(request.tag()).isNull() assertThat(request.tag(Any::class.java)).isNull() assertThat(request.tag(UUID::class.java)).isNull() assertThat(request.tag(String::class.java)).isNull() // Alternate access APIs also work. assertThat(request.tag<String>()).isNull() assertThat(request.tag(String::class)).isNull() } @Test
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
derReader.read("test") { header -> assertThat(header.tag).isEqualTo(2L) assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_CONTEXT_SPECIFIC) assertThat(header.length).isEqualTo(7L) derReader.read("test") { header -> assertThat(header.tag).isEqualTo(3L) assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_APPLICATION) assertThat(header.length).isEqualTo(5L)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat("0:0:0:0:0:FFFF:129.144.52.38".canParseAsIpAddress()).isTrue() assertThat("::13.1.68.3".canParseAsIpAddress()).isTrue() assertThat("::FFFF:129.144.52.38".canParseAsIpAddress()).isTrue() // Hostnames assertThat("go".canParseAsIpAddress()).isFalse() assertThat("localhost".canParseAsIpAddress()).isFalse() assertThat("squareup.com".canParseAsIpAddress()).isFalse()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(entry.getKey().getName(), is("T1")); assertThat(entry.getValue(), is(sameClass(Integer.class))); entry = it.next(); assertThat(entry.getKey().getName(), is("T2")); assertThat(entry.getValue(), is(sameClass(Long.class))); entry = it.next(); assertThat(entry.getKey().getName(), is("T1")); assertThat(entry.getValue(), is(sameClass(String.class)));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
assertThat(source.readUtf8()).isEqualTo("hello") } @Test fun bytesEmpty() { val body = body("") assertThat(body.bytes().size).isEqualTo(0) } @Test fun bytesSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.bytes() assertThat(bytes[0] and 0xff).isEqualTo(0xef) assertThat(bytes[1] and 0xff).isEqualTo(0xbb)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
assertThat(cookies.size).isEqualTo(1) val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") assertThat(cookie.comment).isNull() assertThat(cookie.commentURL).isNull() assertThat(cookie.discard).isFalse() assertThat(cookie.maxAge).isGreaterThan(100000000000L) assertThat(cookie.path).isEqualTo("/path")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternMatcherFactoryTest.java
assertThat(matcher, matchesDir("a", "b", "d", "c")); assertThat(matcher, matchesDir("a")); assertThat(matcher, matchesDir("a", "b")); assertThat(matcher, matchesDir("a", "b", "d")); assertThat(matcher, matchesDir("a", "b", "c", "d")); assertThat(matcher, not(matchesDir("b"))); assertThat(matcher, not(matchesDir("d"))); assertThat(matcher, not(matchesDir("a", "c", "b", "c")));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 19.7K bytes - Viewed (0)