Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 522 for assertThat (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(propDesc.getReadMethod(), is(notNullValue()));
            assertThat(propDesc.getWriteMethod(), is(notNullValue()));
    
            propDesc = beanDesc.getPropertyDesc("fff");
            assertThat(propDesc.getPropertyName(), is("fff"));
            assertThat(propDesc.getPropertyType(), is(sameClass(Boolean.class)));
    
            assertThat(beanDesc.hasPropertyDesc("hhh"), is(not(true)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        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);
        assertThat(network.edgesConnecting(N3, N2)).containsExactly(E23);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

          .isEqualTo("google.co.uk")
        assertThat("https://栃.栃木.jp".toHttpUrl().topPrivateDomain())
          .isEqualTo("xn--ewv.xn--4pvxs.jp")
        assertThat("https://xn--ewv.xn--4pvxs.jp".toHttpUrl().topPrivateDomain())
          .isEqualTo("xn--ewv.xn--4pvxs.jp")
        assertThat("https://co.uk".toHttpUrl().topPrivateDomain()).isNull()
        assertThat("https://square".toHttpUrl().topPrivateDomain()).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 60, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(60L)).isEqualTo(90L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        assertThat(testFuture.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, info=\\[cause=\\[Because this test isn't done\\]\\]\\]");
        TimeoutException e = assertThrows(TimeoutException.class, () -> testFuture.get(1, NANOSECONDS));
        assertThat(e.getMessage()).contains("1 nanoseconds");
        assertThat(e.getMessage()).contains("Because this test isn't done");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
      @GwtIncompatible // getCauseAs(Throwable, Class)
      public void testGetCauseAs() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source1.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
        assertThat(source2.exhausted()).isTrue()
        source1.close()
        source2.close()
        assertThat(relay.isClosed).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Ints.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Ints.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Ints.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Ints.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new int[] {(int) 1, (int) 1, (int) 1});
        assertThat(Ints.concat(ARRAY1, ARRAY234))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        putEdge(N1, N2);
        putEdge(N4, N1);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
        assertThat(graphAsMutableGraph.removeNode(N1)).isFalse();
        assertThat(graph.nodes()).containsExactly(N2, N4);
    
        assertThat(graph.adjacentNodes(N2)).isEmpty();
        assertThat(graph.predecessors(N2)).isEmpty();
        assertThat(graph.successors(N2)).isEmpty();
        assertThat(graph.incidentEdges(N2)).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top