Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for AssertionFailedError (0.38 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

                  e -> e instanceof ArrayIndexOutOfBoundsException)
              .put(ArrayStoreException.class, e -> e instanceof ArrayStoreException)
              .put(AssertionFailedError.class, e -> e instanceof AssertionFailedError)
              .put(CancellationException.class, e -> e instanceof CancellationException)
              .put(ClassCastException.class, e -> e instanceof ClassCastException)
              .put(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        }
    
        try {
          assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        }
    
        try {
          assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import java.io.Serializable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testComputeIfPresent_unsupportedAbsent() {
        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testComputeIfPresent_unsupportedAbsent() {
        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

    import com.google.common.base.Equivalence;
    import com.google.common.base.MoreObjects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableTable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

    import com.google.common.base.Equivalence;
    import com.google.common.base.MoreObjects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableTable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top