- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for NullPointerTester (0.48 sec)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* NullPointerTester} uses best effort to pick non-null default values for many common JDK and Guava * types, and also for interfaces and public classes that have public parameter-less constructors. * When the non-null default value for a particular parameter type cannot be provided by {@code * NullPointerTester}, the caller can provide a custom non-null default value for the parameter typeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* NullPointerTester} uses best effort to pick non-null default values for many common JDK and Guava * types, and also for interfaces and public classes that have public parameter-less constructors. * When the non-null default value for a particular parameter type cannot be provided by {@code * NullPointerTester}, the caller can provide a custom non-null default value for the parameter typeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} default void checksNull(String s) { checkNotNull(s); } } public void testInterfaceStaticMethod() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(InterfaceStaticMethodChecksNull.class); try { tester.testAllPublicStaticMethods(InterfaceStaticMethodFailsToCheckNull.class);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
.put("HmacSHA512", SHA512_KEY, Hashing.hmacSha512(SHA512_KEY)) .buildOrThrow(); public void testNulls() { NullPointerTester tester = new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY); tester.testAllPublicConstructors(MacHashFunction.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
public void testToStringFunctionSerializable() { checkCanReserializeSingleton(Functions.toStringFunction()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Functions.class); } public void testForMapWithoutDefault() { Map<String, @Nullable Integer> map = new HashMap<>();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Joiner.class); tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE); tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE); tester.testInstanceMethods(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
assertThrows(IllegalArgumentException.class, () -> builder.setCount("a", -2)); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableMultiset.class); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Joiner.class); tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE); tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE); tester.testInstanceMethods(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(asList("a", "b", "c", "d"), list); } // Basic tests @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableList.class); tester.testAllPublicInstanceMethods(ImmutableList.of(1, 2, 3)); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testContainsPattern_nulls() throws Exception { NullPointerTester tester = new NullPointerTester(); Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo"); tester.testAllPublicInstanceMethods(isWooString); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testContains_nulls() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0)