Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for includingEquals (0.15 seconds)

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

                  public String toString() {
                    return "";
                  }
                },
            "toString()");
      }
    
      public void testFailsToForwardHashCode() {
        tester.includingEquals();
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
    
                  @SuppressWarnings("EqualsHashCode")
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  public String toString() {
                    return "";
                  }
                },
            "toString()");
      }
    
      public void testFailsToForwardHashCode() {
        tester.includingEquals();
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
    
                  @SuppressWarnings("EqualsHashCode")
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
       * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
       * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top