Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEquals_self (0.06 sec)

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

      @SuppressWarnings({
        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
        "UndefinedEquals", // Comparisons of an object to itself *are* defined.
      })
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      // Comparisons to null *are* defined.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_null() {
    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({
        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
        "UndefinedEquals", // Comparisons of an object to itself *are* defined.
      })
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      // Comparisons to null *are* defined.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_null() {
    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