Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEquals_notACollection (0.59 sec)

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

        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      // A collection should essentially never be equal to a non-collection.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_notACollection() {
        // noinspection EqualsBetweenInconvertibleTypes
        assertFalse(
            "A Collection should never equal an object that is not a Collection.",
            collection.equals("huh?"));
      }
    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

        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      // A collection should essentially never be equal to a non-collection.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_notACollection() {
        // noinspection EqualsBetweenInconvertibleTypes
        assertFalse(
            "A Collection should never equal an object that is not a Collection.",
            collection.equals("huh?"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top