- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for IsTrue (0.16 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
assume().that(graph.allowsSelfLoops()).isTrue(); graphAsMutableGraph.putEdge(N1, N1); assertThat(graphAsMutableGraph.putEdge(N1, N1)).isFalse(); } @Test public void removeEdge_antiparallelEdges() { assume().that(graphIsMutable()).isTrue(); putEdge(N1, N2); putEdge(N2, N1); assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 13.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.connectionCount()).isEqualTo(0) assertThat(c1.socket().isClosed).isTrue() // Running again, the pool reports that no further runs are necessary. assertThat(pool.closeConnections(150L)).isEqualTo(-1) assertThat(pool.connectionCount()).isEqualTo(0) assertThat(c1.socket().isClosed).isTrue() } @Test fun inUseConnectionsNotEvicted() { val pool = factory.newConnectionPool()
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/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isTrue import java.io.IOException import java.io.InputStreamReader import java.io.Reader import java.nio.charset.StandardCharsets import java.util.concurrent.atomic.AtomicBoolean import kotlin.test.assertFailsWith
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(network.edgesConnecting(N3, N2)).isEmpty(); } @Test public void addEdge_selfLoop_allowed() { assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsSelfLoops()).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11)).isTrue(); assertThat(network.edges()).contains(E11); assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11); } @Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(network.edgesConnecting(N3, N2)).isEmpty(); } @Test public void addEdge_selfLoop_allowed() { assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsSelfLoops()).isTrue(); assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11)).isTrue(); assertThat(network.edges()).contains(E11); assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11); } @Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 21.3K bytes - Viewed (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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(cookie!!.matches("http://☃.net/".toHttpUrl())).isTrue() assertThat(cookie.matches("http://xn--n3h.net/".toHttpUrl())).isTrue() assertThat(cookie.matches("http://www.☃.net/".toHttpUrl())).isTrue() assertThat(cookie.matches("http://www.xn--n3h.net/".toHttpUrl())).isTrue() } @Test fun punycodeDomainMatches() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assume().that(graphIsMutable()).isTrue(); assume().that(network.allowsParallelEdges()).isTrue(); assume().that(network.allowsSelfLoops()).isTrue(); addEdge(N1, N1, E11); addEdge(N1, N1, E11_A); addEdge(N1, N2, E12); assertTrue(networkAsMutableNetwork.removeEdge(E11_A)); assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11); assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0)