Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testInvalidHashCode (0.3 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
        Object b = new InvalidHashCodeObject(1, 2);
        equalsTester.addEqualityGroup(a, b);
        try {
          equalsTester.testEquals();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top