Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 358 for isTrue (0.07 sec)

  1. okhttp/src/test/java/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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheControlTest.kt

        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
        assertThat(cacheControl.maxStaleSeconds).isEqualTo(2)
        assertThat(cacheControl.minFreshSeconds).isEqualTo(3)
        assertThat(cacheControl.onlyIfCached).isTrue()
        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.immutable).isTrue()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt

      ) {
        defaultInstancePort = defaultInstance.port
        instanceAPort = instanceA.port
        instanceBPort = instanceB.port
        assertThat(defaultInstance.started).isTrue()
        assertThat(instanceA.started).isTrue()
        assertThat(instanceB.started).isTrue()
        assertThat(defaultInstancePort).isNotEqualTo(instanceAPort)
        assertThat(defaultInstancePort).isNotEqualTo(instanceBPort)
      }
    
      @AfterEach
      fun tearDown(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 8096
        assertThat(settings.headerTableSize).isEqualTo(8096)
        assertThat(settings.getEnablePush(true)).isTrue()
        settings[Settings.ENABLE_PUSH] = 1
        assertThat(settings.getEnablePush(false)).isTrue()
        settings.clear()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
        settings[Settings.MAX_CONCURRENT_STREAMS] = 75
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top