Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SelfEquals (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionEqualsTester<E> extends AbstractCollectionTester<E> {
    
      @SuppressWarnings({
        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
        "UndefinedEquals", // Comparisons of an object to itself *are* defined.
      })
      public void testEquals_self() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionEqualsTester<E> extends AbstractCollectionTester<E> {
    
      @SuppressWarnings({
        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
        "UndefinedEquals", // Comparisons of an object to itself *are* defined.
      })
      public void testEquals_self() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            assertTrue(
                comparator + ".compare(" + greater + ", " + t + ")",
                comparator.compare(greater, t) > 0);
          }
        }
      }
    
      @SuppressWarnings({"SelfComparison", "SelfEquals"})
      public static <T extends Comparable<? super T>> void testCompareToAndEquals(
          List<T> valuesInExpectedOrder) {
        // This does an O(n^2) test of all pairs of values in both orders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top