- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 60 for testNullPointers (0.2 sec)
-
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/* The names of the expected method that tests null checks. */ private static final ImmutableList<String> NULL_TEST_METHOD_NAMES = ImmutableList.of( "testNulls", "testNull", "testNullPointers", "testNullPointer", "testNullPointerExceptions", "testNullPointerException"); /* The names of the expected method that tests serializable. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
assertThrows(IllegalArgumentException.class, () -> builder.setCount("a", -2)); } @AndroidIncompatible // see ImmutableTableTest.testNullPointerInstance public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(ImmutableSortedMultiset.class); } public void testSerialization_empty() { Collection<String> c = ImmutableSortedMultiset.of();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
() -> { BloomFilter.create(Funnels.unencodedCharsFunnel(), n, p); }); } @AndroidIncompatible // see ImmutableTableTest.testNullPointerInstance public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100)); tester.testAllPublicStaticMethods(BloomFilter.class); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals( String.format(Locale.ROOT, "Known hash for hash(%s, UTF_8) failed", input), expected, func.hashString(input, UTF_8).toString()); } } public void testNullPointers() { NullPointerTester tester = new NullPointerTester() .setDefault(byte[].class, "secret key".getBytes(UTF_8)) .setDefault(HashCode.class, HashCode.fromLong(0));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} } @J2ktIncompatible @GwtIncompatible // NullPointerTester @AndroidIncompatible // see ImmutableTableTest.testNullPointerInstance public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableMultiset.class); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 21K bytes - Viewed (0) -
android/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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals( String.format(Locale.ROOT, "Known hash for hash(%s, UTF_8) failed", input), expected, func.hashString(input, UTF_8).toString()); } } public void testNullPointers() { NullPointerTester tester = new NullPointerTester() .setDefault(byte[].class, "secret key".getBytes(UTF_8)) .setDefault(HashCode.class, HashCode.fromLong(0));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
"a", "c", "b", "c", "A", "C"); } @AndroidIncompatible // see ImmutableTableTest.testNullPointerInstance public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(ImmutableSortedMultiset.class); } public void testSerialization_empty() { Collection<String> c = ImmutableSortedMultiset.of();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 22.6K bytes - Viewed (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
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(double.class, 3.0); tester.testAllPublicStaticMethods(DoubleMath.class); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.1K bytes - Viewed (0)