- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 120 for NullPointerTester (0.08 seconds)
-
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); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
Optional<Number> first = (Optional<Number>) numbers.first(); Number value = first.or(0.5); // fine } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester npTester = new NullPointerTester(); npTester.testAllPublicConstructors(Optional.class); npTester.testAllPublicStaticMethods(Optional.class);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
MutableClassToInstanceMap.create(); private final ListMultimap<Class<?>, Object> distinctValues = ArrayListMultimap.create(); private final NullPointerTester nullPointerTester = new NullPointerTester(); public ClassSanityTester() { // TODO(benyu): bake these into ArbitraryInstances. setDefault(byte.class, (byte) 1); setDefault(Byte.class, (byte) 1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
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); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); } public void testNulls() { NullPointerTester npTester = new NullPointerTester(); npTester.testAllPublicConstructors(ThreadFactoryBuilder.class); npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class); npTester.testAllPublicInstanceMethods(builder); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertThat(table.columnKeySet()).containsExactly(1, 2, 3); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerInstance() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd'); new NullPointerTester().testAllPublicInstanceMethods(table); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
assertEquals(2, numOfByteRead); assertEquals(expectedHash, in.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/GeneralRangeTest.java
GeneralRange.range(ORDERING, 3, CLOSED, 5, OPEN).reverse()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(GeneralRange.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertEquals(asList("a", "b", "c", "d"), list); } // 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 - 24.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
GeneralRange.range(ORDERING, 3, CLOSED, 5, OPEN).reverse()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(GeneralRange.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.4K bytes - Click Count (0)