Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 522 for assertThat (0.07 sec)

  1. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

        assertThat(response).isNotNull()
    
        assertThat(response.body.string()).isNotEmpty()
    
        if (socketMode is TlsInstance) {
          assertThat(response.handshake!!.tlsVersion).isEqualTo(socketMode.tlsVersion)
    
          assertThat(acceptedHostName).isEqualTo(hostname)
    
          if (socketMode.tlsExtensionMode == STANDARD) {
            assertThat(response.protocol).isEqualTo(socketMode.protocol)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertTrue(networkAsMutableNetwork.addEdge(N2, N3, E23));
        assertThat(network.nodes()).containsExactly(N1, N5, N4, N2, N3);
        assertThat(network.edges()).containsExactly(E15, E41, E23);
        assertThat(network.edgesConnecting(N1, N5)).containsExactly(E15);
        assertThat(network.edgesConnecting(N4, N1)).containsExactly(E41);
        assertThat(network.edgesConnecting(N2, N3)).containsExactly(E23);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertTrue(networkAsMutableNetwork.addEdge(N2, N3, E23));
        assertThat(network.nodes()).containsExactly(N1, N5, N4, N2, N3);
        assertThat(network.edges()).containsExactly(E15, E41, E23);
        assertThat(network.edgesConnecting(N1, N5)).containsExactly(E15);
        assertThat(network.edgesConnecting(N4, N1)).containsExactly(E41);
        assertThat(network.edgesConnecting(N2, N3)).containsExactly(E23);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                return "theDelegate";
              }
            };
        Executor sequential1 = newSequentialExecutor(delegate);
        Executor sequential2 = newSequentialExecutor(delegate);
        assertThat(sequential1.toString()).contains("theDelegate");
        assertThat(sequential1.toString()).isNotEqualTo(sequential2.toString());
        final String[] whileRunningToString = new String[1];
        sequential1.execute(
            new Runnable() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.outFinished).isFalse()
        val data = peer.takeFrame()
        assertThat(data.type).isEqualTo(Http2.TYPE_DATA)
        assertArrayEquals("square".toByteArray(), data.data)
        val fin = peer.takeFrame()
        assertThat(fin.type).isEqualTo(Http2.TYPE_DATA)
        assertThat(fin.inFinished).isTrue()
        assertThat(fin.outFinished).isFalse()
        val rstStream = peer.takeFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(
                min((double) 8, (double) 6, (double) 7, (double) 5, (double) 3, (double) 0, (double) 9))
            .isEqualTo((double) 0);
    
        assertThat(min(-0.0, 0.0)).isEqualTo(-0.0);
        assertThat(min(0.0, -0.0)).isEqualTo(-0.0);
        assertThat(min(NUMBERS)).isEqualTo(LEAST);
        assertThat(Double.isNaN(min(VALUES))).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
            final Indexed<String> indexed2 = it.next();
            assertThat(indexed2.getIndex(), is(1));
            assertThat(indexed2.getElement(), is("bbb"));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.size(), is(2));
            assertThat(set.contains(ResultPrinter.class.getName()), is(true));
            assertThat(set.contains(TestRunner.class.getName()), is(true));
            assertThat(set.contains("junit.textui.package-info"), is(false));
            assertThat(set.contains(junit.extensions.TestDecorator.class.getName()), is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/JSSETest.kt

          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top