- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 120 for NullPointerTester (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/InternersTest.java
import com.google.common.collect.Interners.InternerImpl; import com.google.common.collect.MapMakerInternalMap.Strength; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Interners}. * * @author Kevin Bourrillion */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 4.3K bytes - Click Count (0) -
android/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) -
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(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReferenceArray_withNullArray() throws Exception { assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null)); } public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(Atomics.class); // there aren't any tester.testAllPublicStaticMethods(Atomics.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/MoreObjectsTest.java
} // ToStringHelper's tests are in ToStringHelperTest @J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
} // ToStringHelper's tests are in ToStringHelperTest @J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
* limitations under the License. */ package com.google.common.io; import static org.junit.Assert.assertThrows; import com.google.common.testing.NullPointerTester; import com.google.common.testing.NullPointerTester.Visibility; import java.io.File; import java.io.FilenameFilter; import java.util.regex.PatternSyntaxException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
assertThrows(UnsupportedOperationException.class, () -> wrappers.remove(Boolean.class)); } @GwtIncompatible @J2ktIncompatible public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Primitives.class); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (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<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup(Equivalence.identity(), Equivalence.identity()) .testEquals(); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() throws NoSuchMethodException { NullPointerTester tester = new NullPointerTester(); // Necessary until JDK15: // https://bugs.openjdk.org/browse/JDK-8202469 tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0)