Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 522 for assertThat (0.11 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertTrue(graphAsMutableGraph.putEdge(N2, N3));
        assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder();
        assertThat(graph.adjacentNodes(N1)).containsExactly(N4, N5);
        assertThat(graph.adjacentNodes(N2)).containsExactly(N3);
        assertThat(graph.adjacentNodes(N3)).containsExactly(N2);
        assertThat(graph.adjacentNodes(N4)).containsExactly(N1);
        assertThat(graph.adjacentNodes(N5)).containsExactly(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)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response2.body.string()).isEqualTo("ABC")
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(1)
        assertThat(response2.handshake!!.cipherSuite).isEqualTo(cipherSuite)
        assertThat(response2.handshake!!.localCertificates).isEqualTo(localCerts)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assertThat(network.inEdges(N2)).isEmpty();
        assertThat(network.outEdges(N2)).isEmpty();
        assertThat(network.adjacentNodes(N4)).isEmpty();
        assertThat(network.predecessors(N4)).isEmpty();
        assertThat(network.successors(N4)).isEmpty();
        assertThat(network.incidentEdges(N4)).isEmpty();
        assertThat(network.inEdges(N4)).isEmpty();
        assertThat(network.outEdges(N4)).isEmpty();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 2, (char) 3})).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3, (char) 4})).isEqualTo(1);
        assertThat(Chars.indexOf(ARRAY234, new char[] {(char) 3})).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

        assertThat(challenges.size).isEqualTo(1)
        assertThat(challenges[0].scheme).isEqualTo("DiGeSt")
        assertThat(challenges[0].realm).isEqualTo("myrealm")
        val expectedAuthParams = mutableMapOf<String, String>()
        expectedAuthParams["realm"] = "myrealm"
        expectedAuthParams["nonce"] = "fjalskdflwejrlaskdfjlaskdjflaksjdflkasdf"
        expectedAuthParams["qop"] = "auth"
        expectedAuthParams["stale"] = "FALSE"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, new byte[] {(byte) 2, (byte) 3})).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketExtensionsTest.kt

     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class WebSocketExtensionsTest {
      @Test
      fun emptyHeader() {
        assertThat(parse("")).isEqualTo(WebSocketExtensions())
      }
    
      @Test
      fun noExtensionHeader() {
        assertThat(WebSocketExtensions.parse(headersOf()))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        assertRoute(routes[1], address, Proxy.NO_PROXY, dns.lookup(uriHost, 1), uriPort)
        assertThat(selection.next()).isSameAs(routes[0])
        assertThat(selection.next()).isSameAs(routes[1])
        assertThat(selection.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
      }
    
      @Test fun addressesNotSortedWhenFastFallbackIsOff() {
        val address =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top