Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for isTrue (0.08 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void addEdge_selfLoop() {
        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
    - 18.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top