Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 517 for assertThat (0.04 sec)

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

        assertEquals(c, ImmutableSortedMultiset.of("a", "a", "b"));
        assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b"));
        assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b", "c", "d"));
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableSortedMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.text.ParseException;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Ascii;
    import com.google.common.base.Joiner;
    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableList;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.IllegalKeyOfBeanMapException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

        val response = newResponse("".toResponseBody())
    
        assertThat(response.trailers()).isEmpty()
      }
    
      @Test
      fun worksIfTrailersSet() {
        val response =
          newResponse("".toResponseBody()) {
            trailers(
              object : TrailersSource {
                override fun get() = Headers.headersOf("a", "b")
              },
            )
          }
    
        assertThat(response.trailers()["a"]).isEqualTo("b")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt

     * limitations under the License.
     */
    package okhttp3.nativeimage
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jul 04 08:15:11 UTC 2025
    - 964 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        ms.add("a");
        ms.add("b", 2);
        ms.add("c");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.add("b");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b", 2);
        ms.add("b");
        assertThat(ms.elementSet()).containsExactly("a", "c", "b").inOrder();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/SubtypeTester.java

            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
            .isTrue();
        if (!spec.suppressGetSubtype()) {
          assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType);
        }
        if (!spec.suppressGetSupertype()) {
          assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
              .isEqualTo(returnType);
        }
        return sub;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 25 23:29:58 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            publicMethodSignatures(AccessibleObject.class, ImmutableSet.of("canAccess"));
        assertThat(invokableMethods).containsAtLeastElementsIn(accessibleObjectMethods);
        ImmutableSet<String> genericDeclarationMethods =
            publicMethodSignatures(GenericDeclaration.class, ImmutableSet.<String>of());
        assertThat(invokableMethods).containsAtLeastElementsIn(genericDeclarationMethods);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top