- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 105 for NullPointerTester (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.common.testing.NullPointerTester; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA))); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(EnumBiMap.class); new NullPointerTester() .testAllPublicInstanceMethods( EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CHILE))); } public void testEquals() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(EnumHashBiMap.class); new NullPointerTester().testAllPublicInstanceMethods(EnumHashBiMap.create(Currency.class)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(converter.reverse().convert(0666)).isEqualTo("438"); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Ints.stringConverter()); } public void testTryParse() { tryParseAndAssertEquals(0, "0");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(converter.reverse().convert((short) 0666)).isEqualTo("438"); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Shorts.stringConverter()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
import static org.junit.Assert.assertThrows; import com.google.common.collect.Lists; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.NullPointerTester.Visibility; import com.google.common.testing.SerializableTester; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.GenericArrayType;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(cache.localCache.defaultLoader).isSameInstanceAs(loader); } // null parameters test public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); CacheLoader<Object, Object> loader = identityLoader(); tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader)); } // stats tests public void testStats() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 13.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { SerializableTester.reserializeAndAssert(UnsignedLong.fromLongBits(a)); } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(UnsignedLong.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
private static final int MAX_ADDEND = 100; private final Random random = new Random(301); @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(AtomicLongMap.class); tester.testAllPublicStaticMethods(AtomicLongMap.class); AtomicLongMap<Object> map = AtomicLongMap.create();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.testing.NullPointerTester; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0)