Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 517 for assertThat (0.04 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'c', table.get("foo", 3));
        assertThat(table.get("foo", 2)).isNull();
        assertThat(table.get("bar", 3)).isNull();
        assertThat(table.get("cat", 1)).isNull();
        assertThat(table.get("foo", null)).isNull();
        assertThat(table.get(null, 1)).isNull();
        assertThat(table.get(null, null)).isNull();
      }
    
      public void testIsEmpty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.http
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    package com.google.common.base;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.GcFinalization;
    import java.io.File;
    import java.lang.ref.WeakReference;
    import java.lang.reflect.Constructor;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. 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());
        String[] whileRunningToString = new String[1];
        sequential1.execute(
            new Runnable() {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageAssert.java

        ProjectBuildingResultWithProblemMessageAssert(ProjectBuildingResult actual) {
            this.actual = actual;
        }
    
        public static ProjectBuildingResultWithProblemMessageAssert assertThat(ProjectBuildingResult actual) {
            return new ProjectBuildingResultWithProblemMessageAssert(actual);
        }
    
        public ProjectBuildingResultWithProblemMessageAssert hasProblemMessage(String problemMessage) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
        assertThat(mmHeap.peek()).isNull();
        assertThat(mmHeap.peekLast()).isNull();
        assertThat(mmHeap.pollLast()).isNull();
      }
    
      public void testSmallMinHeap() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.add(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> actual = cartesianProduct(list(1, 1), list(2, 3));
        assertThat(actual.lastIndexOf(list(1, 2))).isEqualTo(2);
        assertThat(actual.lastIndexOf(list(1, 3))).isEqualTo(3);
        assertThat(actual.lastIndexOf(list(1, 1))).isEqualTo(-1);
    
        assertThat(actual.lastIndexOf(list(1))).isEqualTo(-1);
        assertThat(actual.lastIndexOf(list(1, 1, 1))).isEqualTo(-1);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top