Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for Unhashables (0.07 seconds)

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

            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getHashCodeMethod() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        suite.addTest(
            ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator())
                .suppressing(ListHashCodeTester.getHashCodeMethod())
                .named("ImmutableList, unhashable values")
                .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        suite.addTest(
            ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator())
                .suppressing(ListHashCodeTester.getHashCodeMethod())
                .named("ImmutableList, unhashable values")
                .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetUnhashableGenerator())
                .suppressing(SetHashCodeTester.getHashCodeMethods())
                .named(ImmutableSortedSetTest.class.getName() + ", unhashable")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 45.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .named("ImmutableMap.values, unhashable")
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableMapKeyListGenerator())
                .named("ImmutableMap.keySet.asList")
                .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetUnhashableGenerator())
                .suppressing(SetHashCodeTester.getHashCodeMethods())
                .named(ImmutableSortedSetTest.class.getName() + ", unhashable")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 46.7K bytes
    - Click Count (0)
Back to Top