Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 522 for assertThat (0.07 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE_TRUE)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE_FALSE, ARRAY_FALSE)).isEqualTo(0);
        assertThat(Booleans.indexOf(ARRAY_FALSE, ARRAY_FALSE)).isEqualTo(0);
        assertThat(Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_FALSE)).isEqualTo(0);
        assertThat(Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
        assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
        assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 2, (long) 3})).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 3, (long) 4})).isEqualTo(1);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 3})).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
            assertThat(clIllegalStateException.getMessage(), is("hoge"));
            assertThat(clIllegalStateException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.Throwable)}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        Thread.sleep(1000)
    
        // No pings and no pongs.
        assertThat(webSocket.sentPingCount()).isEqualTo(0)
        assertThat(webSocket.receivedPingCount()).isEqualTo(0)
        assertThat(webSocket.receivedPongCount()).isEqualTo(0)
        assertThat(server.sentPingCount()).isEqualTo(0)
        assertThat(server.receivedPingCount()).isEqualTo(0)
        assertThat(server.receivedPongCount()).isEqualTo(0)
        closeWebSockets(webSocket, server)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++]).isEqualTo(expected)
            return this
          }
    
        fun assertLogMatch(regex: Regex) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++])
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(nothing).containsExactly("").inOrder();
      }
    
      public void testCharacterSplitOnEmptyStringOmitEmptyStrings() {
        assertThat(Splitter.on('.').omitEmptyStrings().split("")).isEmpty();
      }
    
      public void testCharacterSplitOnOnlyDelimiter() {
        Iterable<String> blankblank = Splitter.on('.').split(".");
        assertThat(blankblank).containsExactly("", "").inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE")));
            assertThat(hoge.getFieldName(), is("HOGE"));
            assertThat(hoge.getFieldType(), is(sameClass(String.class)));
            assertThat(hoge.isPublic(), is(true));
            assertThat(hoge.isStatic(), is(true));
            assertThat(hoge.isFinal(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        val dnsStart: DnsStart = listener.removeUpToEvent<DnsStart>()
        assertThat(dnsStart.call).isSameAs(call)
        assertThat(dnsStart.domainName).isEqualTo(server.hostName)
        val dnsEnd: DnsEnd = listener.removeUpToEvent<DnsEnd>()
        assertThat(dnsEnd.call).isSameAs(call)
        assertThat(dnsEnd.domainName).isEqualTo(server.hostName)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
Back to top