Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setDistinctValues (0.05 sec)

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

       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertThrows(
            IllegalArgumentException.class, () -> tester.setDistinctValues(String.class, "", ""));
      }
    
      public void testInstantiate_setDistinctValues() throws Exception {
        NotInstantiable x = new NotInstantiable();
        NotInstantiable y = new NotInstantiable();
        tester.setDistinctValues(NotInstantiable.class, x, y);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * Object#equals} because more than one sample instances are needed for testing inequality. To set
       * distinct values for equality testing, use {@link #setDistinctValues} instead.
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
        defaultValues.putInstance(type, value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top