- Sort Score
- Result 10 results
- Languages All
Results 151 - 156 of 156 for NullPointerTester (0.36 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
return new TypeToken<T[]>() {}.where(new TypeParameter<T>() {}, componentType); } public <T> void testNulls() { new NullPointerTester().testAllPublicStaticMethods(TypeToken.class); new NullPointerTester() .setDefault(TypeParameter.class, new TypeParameter<T>() {}) .testAllPublicInstanceMethods(TypeToken.of(String.class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @throws IllegalArgumentException if {@code occurrences} is negative */ /* * TODO(cpovirk): remove and removeExactly currently accept null inputs only * if occurrences == 0. This satisfies both NullPointerTester and * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's * a good policy, especially because, in order for the test to pass, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertEquals(0, map.size()); assertNull(segment.valueReferenceQueue.poll()); } } } public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(makeLocalCache(createCacheBuilder())); CacheLoader<Object, Object> loader = identityLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertEquals(0, map.size()); assertNull(segment.valueReferenceQueue.poll()); } } } public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(makeLocalCache(createCacheBuilder())); CacheLoader<Object, Object> loader = identityLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
return new TypeToken<T[]>() {}.where(new TypeParameter<T>() {}, componentType); } public <T> void testNulls() { new NullPointerTester().testAllPublicStaticMethods(TypeToken.class); new NullPointerTester() .setDefault(TypeParameter.class, new TypeParameter<T>() {}) .testAllPublicInstanceMethods(TypeToken.of(String.class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* implement Function<A, B>, as discussed in a class-level comment), it would make some sense to * perform runtime null checks on the input and output. (That would also make NullPointerTester * happy!) However, since we didn't do that for many years, we're not about to start now. * (Runtime checks could be particularly bad for users of LegacyConverter.) *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0)