- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FactoryMethodReturnValueTester (0.16 sec)
-
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 = Sets.newHashSet(); private final Class<?> declaringClass;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
byte[] dest = new byte[3]; HASH_ABCD.writeBytesTo(dest, 0, 2); assertTrue(Arrays.equals(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0x00}, dest)); } 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})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
byte[] dest = new byte[3]; HASH_ABCD.writeBytesTo(dest, 0, 2); assertTrue(Arrays.equals(new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0x00}, dest)); } 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})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0)