- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for testNulls (0.04 sec)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} public void testNulls_enum() throws Exception { tester.testNulls(OneConstantEnum.class); tester.testNulls(NoConstantEnum.class); tester.testNulls(TimeUnit.class); } public void testNulls_parameterOptionalNotInstantiable() throws Exception { tester.testNulls(ConstructorParameterWithOptionalNotInstantiable.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java
* Tests for {@link RelationshipTester}. * * @author Ben Yu */ @NullUnmarked public class RelationshipTesterTest extends TestCase { public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, /* itemReporter */ Item::toString) .testNulls(RelationshipTester.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <p>And all the created {@code Book} instances can be tested with: * * <pre> * new ClassSanityTester() * .forAllPublicStaticMethods(Books.class) * .thatReturn(Book.class) * .testEquals(); // or testNulls(), testSerializable() etc. * </pre> * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @NullUnmarked @SuppressWarnings("nullness") public final class ClassSanityTester {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
presentBehavior, absentBehavior); } } } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(SortedLists.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
checkCanReserialize(Functions.forSupplier(new CountingSupplier())); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <p>And all the created {@code Book} instances can be tested with: * * <pre> * new ClassSanityTester() * .forAllPublicStaticMethods(Books.class) * .thatReturn(Book.class) * .testEquals(); // or testNulls(), testSerializable() etc. * </pre> * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @NullUnmarked @SuppressWarnings("nullness") public final class ClassSanityTester {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
.forAllPublicStaticMethods(EnumMultisetFactory.class) .testEquals(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new NullPointerTester() .setDefault(Class.class, Color.class) .setDefault(Iterable.class, EnumSet.allOf(Color.class)) .testAllPublicStaticMethods(EnumMultiset.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
.forAllPublicStaticMethods(EnumMultisetFactory.class) .testEquals(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new NullPointerTester() .setDefault(Class.class, Color.class) .setDefault(Iterable.class, EnumSet.allOf(Color.class)) .testAllPublicStaticMethods(EnumMultiset.class); }
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/SignedBytesTest.java
testSortDescending(new byte[] {-1, -2, 1, 2}, 1, 3, new byte[] {-1, 1, -2, 2}); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(SignedBytes.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0)