Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for FactoryMethodReturnValueTester (0.18 seconds)

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

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

            builder.add(invokable);
          }
        }
        return new FactoryMethodReturnValueTester(cls, builder.build(), "public static methods");
      }
    
      /** Runs sanity tests against return values of static factory methods declared by a class. */
      public final class FactoryMethodReturnValueTester {
        private final Set<String> packagesToTest = new HashSet<>();
        private final Class<?> declaringClass;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

        byte[] dest = new byte[3];
        HASH_ABCD.writeBytesTo(dest, 0, 2);
        assertThat(dest).isEqualTo(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0x00});
      }
    
      private static ClassSanityTester.FactoryMethodReturnValueTester sanityTester() {
        return new ClassSanityTester()
            .setDefault(byte[].class, new byte[] {1, 2, 3, 4})
            .setDistinctValues(byte[].class, new byte[] {1, 2, 3, 4}, new byte[] {5, 6, 7, 8})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        byte[] dest = new byte[3];
        HASH_ABCD.writeBytesTo(dest, 0, 2);
        assertThat(dest).isEqualTo(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0x00});
      }
    
      private static ClassSanityTester.FactoryMethodReturnValueTester sanityTester() {
        return new ClassSanityTester()
            .setDefault(byte[].class, new byte[] {1, 2, 3, 4})
            .setDistinctValues(byte[].class, new byte[] {1, 2, 3, 4}, new byte[] {5, 6, 7, 8})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top