- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 120 for NullPointerTester (0.27 seconds)
-
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.common.testing.ForwardingWrapperTester; import com.google.common.testing.NullPointerTester; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.InputStream; import java.nio.charset.Charset; import java.util.concurrent.TimeUnit; import java.util.regex.Pattern;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
.expectCollects(ImmutableList.of("a", "b", "c", "d"), "a", "b", "c", "d"); } // Basic tests @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableList.class); tester.testAllPublicInstanceMethods(ImmutableList.of(1, 2, 3)); } @J2ktIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThrows( IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Long>of().iterator())); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(double.class, 3.0); tester.testAllPublicStaticMethods(DoubleMath.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
} private static boolean fitsInInt(BigInteger big) { return big.bitLength() <= 31; } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(int.class, 1); tester.testAllPublicStaticMethods(IntMath.class); } @GwtIncompatible // isPrime is GWT-incompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
* * @author Marcin Mikosik */ @GwtCompatible @NullUnmarked public class FluentIterableTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(FluentIterable.class); } public void testFromArrayAndAppend() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 30.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedMultiset.java
@ParametricNullness E fromElement, BoundType fromBoundType, @ParametricNullness E toElement, BoundType toBoundType) { // These are checked elsewhere, but NullPointerTester wants them checked eagerly. checkNotNull(fromBoundType); checkNotNull(toBoundType); return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
VerifyException expected = assertThrows(VerifyException.class, () -> verifyNotNull(null, FORMAT, 5)); checkMessage(expected); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { // Don't bother testing: Verify is like Preconditions. See the discussion on that class. } private static final Object IGNORE_ME = new Object() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
import static org.junit.Assert.assertThrows; import com.google.common.collect.testing.Helpers; import com.google.common.primitives.UnsignedBytes.LexicographicalComparatorHolder.UnsafeComparator; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Random; import junit.framework.TestCase;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
.addEqualityGroup(Prepender.method("privateFinalMethod")) .testEquals(); } public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(Invokable.class); new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod")); } @Retention(RetentionPolicy.RUNTIME) private @interface NotBlank {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
public void testAsListEmpty() { assertThat(Chars.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(Chars.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 25.9K bytes - Click Count (0)