- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 127 for NullPointerTester (0.06 sec)
-
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));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.testing.NullPointerTester.isNullable; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
import com.google.common.collect.testing.google.MultisetTestSuiteBuilder; import com.google.common.collect.testing.google.TestEnumMultisetGenerator; import com.google.common.testing.ClassSanityTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import com.google.errorprone.annotations.Keep; import java.util.Collection; import java.util.EnumSet; import java.util.Set; import junit.framework.Test;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThat(UnsignedLongs.join("", -1, Long.MIN_VALUE)) .isEqualTo("184467440737095516159223372036854775808"); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(UnsignedLongs.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/SomeClassThatDoesNotUseNullable.java
* limitations under the License. */ package com.google.common.testing.anotherpackage; /** Does not check null, but should not matter since it's in a different package. */ @SuppressWarnings("unused") // For use by NullPointerTester public class SomeClassThatDoesNotUseNullable { void packagePrivateButDoesNotCheckNull(String s) {} protected void protectedButDoesNotCheckNull(String s) {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
assertWithMessage("%s to %s", from, to).that(from.to(to, " ")).isEqualTo(" "); } } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullArguments() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(CaseFormat.class); for (CaseFormat format : CaseFormat.values()) { tester.testAllPublicInstanceMethods(format); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
* * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class ObjectArraysTest extends TestCase { @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ObjectArrays.class); } @GwtIncompatible // ObjectArrays.newArray(Class, int)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
@SuppressWarnings("SetAutoIncrementStep_Nanos") @NullUnmarked public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0)