- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 505 for isTrue (0.15 seconds)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
*/ @Test public void putEdge_nodesNotInGraph() { assume().that(graphIsMutable()).isTrue(); graphAsMutableGraph.addNode(N1); assertThat(graphAsMutableGraph.putEdge(N1, N5)).isTrue(); assertThat(graphAsMutableGraph.putEdge(N4, N1)).isTrue(); assertThat(graphAsMutableGraph.putEdge(N2, N3)).isTrue(); assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder();
Created: 2026-04-03 12:43 - Last Modified: 2025-10-06 20:14 - 14.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception { assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue(); assertCancelled(future, false); }
Created: 2026-04-03 12:43 - Last Modified: 2026-03-16 22:45 - 16.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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)
Created: 2026-04-03 11:42 - Last Modified: 2026-02-03 22:17 - 7.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isTrue import java.io.IOException import java.io.InterruptedIOException import java.net.HttpURLConnection import java.time.Duration import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit
Created: 2026-04-03 11:42 - Last Modified: 2025-06-18 12:28 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsSelfLoops()).isTrue(); assume().that(network.allowsParallelEdges()).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11)).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11_A)).isTrue(); assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11, E11_A); }
Created: 2026-04-03 12:43 - Last Modified: 2025-09-30 17:09 - 21.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.allowsSelfLoops()).isTrue(); addNode(N1); putEdge(N1, N1); assertThat(graphAsMutableGraph.removeNode(N1)).isTrue(); assertThat(graph.nodes()).isEmpty(); } @Test public void removeEdge_existingSelfLoopEdge() { assume().that(graphIsMutable()).isTrue(); assume().that(graph.allowsSelfLoops()).isTrue(); putEdge(N1, N1);
Created: 2026-04-03 12:43 - Last Modified: 2025-10-06 20:14 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsParallelEdges()).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N2, N1, E21)).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12_A)).isTrue(); assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12, E12_A, E21);
Created: 2026-04-03 12:43 - Last Modified: 2025-09-30 17:09 - 18.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.allowsSelfLoops()).isTrue(); addNode(N1); putEdge(N1, N1); assertThat(graphAsMutableGraph.removeNode(N1)).isTrue(); assertThat(graph.nodes()).isEmpty(); } @Test public void removeEdge_existingSelfLoopEdge() { assume().that(graphIsMutable()).isTrue(); assume().that(graph.allowsSelfLoops()).isTrue(); putEdge(N1, N1);
Created: 2026-04-03 12:43 - Last Modified: 2025-10-06 20:14 - 13.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
assertThat("1080:0:0:0:8:800:200C:417A".canParseAsIpAddress()).isTrue() assertThat("1080::8:800:200C:417A".canParseAsIpAddress()).isTrue() assertThat("FF01::101".canParseAsIpAddress()).isTrue() assertThat("0:0:0:0:0:0:13.1.68.3".canParseAsIpAddress()).isTrue() assertThat("0:0:0:0:0:FFFF:129.144.52.38".canParseAsIpAddress()).isTrue() assertThat("::13.1.68.3".canParseAsIpAddress()).isTrue()
Created: 2026-04-03 11:42 - Last Modified: 2025-03-19 19:25 - 40.4K bytes - Click Count (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
dispatcher = dispatcherC } @Test fun happyPath() { 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 {Created: 2026-04-03 11:42 - Last Modified: 2025-06-18 11:13 - 3.3K bytes - Click Count (1)