Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEqualsAndHashCode (1.46 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /* The names of the expected method that tests equals. */
      private static final ImmutableList<String> EQUALS_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testEquals",
              "testEqualsAndHashCode",
              "testEqualsAndSerializable",
              "testEqualsAndSerialization",
              "testEquality");
    
      private static final Chopper TEST_SUFFIX =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          }
        }
      }
    
      public abstract static class AbstractFilteredSetTest<C extends Set<Integer>>
          extends AbstractFilteredCollectionTest<C> {
        public void testEqualsAndHashCode() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            Set<Integer> expected = new HashSet<>();
            for (Integer i : contents) {
              if (EVEN.apply(i)) {
                expected.add(i);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top