- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 111 for isNull (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
return suite; } public void testAllocArraysDefault() { CompactHashSet<Integer> set = CompactHashSet.create(); assertThat(set.needsAllocArrays()).isTrue(); assertThat(set.elements).isNull(); set.add(1); assertThat(set.needsAllocArrays()).isFalse(); assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE); } public void testAllocArraysExpectedSize() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(future.isDone()).isFalse(); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testTrustedGetFailure_canceledNoCause() { SettableFuture<String> future = SettableFuture.create(); future.cancel(false); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testGetFailure_completed() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
* limitations under the License. */ package okhttp3.internal.tls import assertk.assertThat import assertk.assertions.endsWith import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.startsWith import java.io.IOException import java.net.SocketException import java.security.GeneralSecurityException import java.security.SecureRandom import java.security.cert.X509Certificate
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import okhttp3.internal.http.parseChallenges import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test class HeadersChallengesTest { /** See https://github.com/square/okhttp/issues/2780. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
* limitations under the License. */ package okhttp3.internal.cache2 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.File import java.io.IOException import java.util.concurrent.Callable import java.util.concurrent.Executors import kotlin.test.assertFailsWith
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val page2 = server.takeRequest() assertThat(page2.requestLine).isEqualTo("GET /page2 HTTP/1.1") assertThat(page2.headers["Content-Length"]).isNull() assertThat(page2.headers["Content-Type"]).isNull() assertThat(page2.headers["Transfer-Encoding"]).isNull() } @Test fun response305UseProxy() { server.enqueue( MockResponse( code = HttpURLConnection.HTTP_USE_PROXY,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(request.header("User-Agent")).isNull() assertThat(request.header("Host")).isNull() assertThat(request.header("Accept-Encoding")).isNull() // No extra headers in the application's response. val response = client.newCall(request).execute() assertThat(request.header("Content-Encoding")).isNull() assertThat(response.body.string()).isEqualTo("abcabcabc") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isInstanceOf import assertk.assertions.isNotInstanceOf import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isSameAs import java.io.IOException import java.net.CookieManager import java.net.Proxy import java.net.ProxySelector import java.net.ResponseCache import java.net.SocketAddress
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThat(Stream.of(1).collect(onlyElement())).isEqualTo(1); } public void testOnlyElementNull() { assertThat(Stream.<@Nullable Object>of((Object) null).collect(onlyElement())).isNull(); } public void testOnlyElementMultiple() { IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> Stream.of(1, 2).collect(onlyElement()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testStringConverter_nullConversions() { assertThat(Doubles.stringConverter().convert(null)).isNull(); assertThat(Doubles.stringConverter().reverse().convert(null)).isNull(); } @GwtIncompatible // Double.toString returns different value in GWT. public void testStringConverter_reverse() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0)