Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 159 for is_true (0.06 seconds)

  1. 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: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. 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: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 11:13:17 GMT 2025
    - 3.3K bytes
    - Click Count (1)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt

    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testIfSupported() {
        assertThat(PlatformRule.isCorrettoSupported).isTrue()
        assertThat(PlatformRule.isCorrettoInstalled).isTrue()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  4. 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: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. 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: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        val set: MutableSet<Any> = CopyOnWriteArraySet()
        assertThat(set.add(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.add(ConnectionSpec.COMPATIBLE_TLS)).isTrue()
        assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.add(allTlsVersions)).isTrue()
        assertThat(set.add(allCipherSuites)).isTrue()
        allCipherSuites.hashCode()
        assertThat(allCipherSuites.equals(null)).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. 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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. 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() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
        assertThat(segment.containsValue(dummyValue)).isTrue();
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
        assertThat(segment.containsValue(dummyValue)).isTrue();
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top