- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for isFalse (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 60, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(60L)).isEqualTo(90L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 149, the pool returns that nothing can be evicted until time 150.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
if (e.connection != null) { assertThat(Thread.holdsLock(e.connection), "Called with lock $${e.connection}") .isFalse() } for (lock in forbiddenLocks) { assertThat(Thread.holdsLock(lock), "Called with lock $lock") .isFalse() } if (enforceOrder) { checkForStartEvent(e) } eventSequence.offer(e) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.set(99)).isFalse(); assertThat(future.setException(new IndexOutOfBoundsException())).isFalse(); assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse(); assertThat(future.setFuture(immediateFuture(99))).isFalse(); } private static void assertCannotCancel(AbstractFuture<Integer> future) { assertThat(future.cancel(true)).isFalse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
testInstances += this assertThat(serverA.started).isTrue() assertThat(serverB.started).isTrue() assertThat(serverC.started).isFalse() assertThat(serverD.started).isTrue() assertThat(serverE.started).isTrue() assertThat(serverF.started).isFalse() } private companion object { val testInstances = CopyOnWriteArrayList<StartStopTest>() private val dispatcherD = ClosableDispatcher()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
Future<?> possiblyIgnoredError1 = serializer.submitAsync(thirdCallable, directExecutor()); secondFuture.cancel(true); assertThat(secondCallable.called).isFalse(); assertThat(thirdCallable.called).isFalse(); firstFuture.set(null); assertThat(secondCallable.called).isFalse(); assertThat(thirdCallable.called).isTrue(); } public void testCancellationMultipleThreads() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
client.webSocket!!.close(1000, "Hello!") // This will trigger a close response. assertThat(server.processNextFrame()).isFalse() server.listener.assertClosing(1000, "Hello!") server.webSocket!!.finishReader() server.webSocket!!.close(1000, "Goodbye!") assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Goodbye!") client.webSocket!!.finishReader()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
assertThat(selection2.hasNext()).isFalse() // The second selection will contain all failed routes. val selection3 = routeSelector.next() assertThat(selection3.next()).isEqualTo(regularRoutes[0]) assertThat(selection3.hasNext()).isFalse() assertThat(routeSelector.hasNext()).isFalse() } @Test fun failedRouteWithMultipleProxies() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertThat(network.hasEdgeConnecting(N1, N2)).isFalse(); } @Test public void hasEdgesConnecting_nodesNotInGraph() { addNode(N1); addNode(N2); assertThat(network.hasEdgeConnecting(N1, NODE_NOT_IN_GRAPH)).isFalse(); assertThat(network.hasEdgeConnecting(NODE_NOT_IN_GRAPH, N2)).isFalse(); assertThat(network.hasEdgeConnecting(NODE_NOT_IN_GRAPH, NODE_NOT_IN_GRAPH)).isFalse(); } @Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertThat(ImmutableLongArray.of().isEmpty()).isTrue(); assertThat(ImmutableLongArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableLongArray.of(0, 1, 3).isEmpty()).isFalse(); assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() { ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0)