Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 2.1K bytes
    - Click Count (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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top