- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 89 for testNull (0.19 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); } private static class TestApplication extends Application { private final List<Thread> hooks = Lists.newArrayList(); @Override synchronized void addShutdownHook(Thread hook) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
} private static InternetDomainName idn(String domain) { return InternetDomainName.from(domain); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { final NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(InternetDomainName.class); tester.testAllPublicInstanceMethods(InternetDomainName.from("google.com")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
Multimap<String, Integer> multimap = ImmutableListMultimap.of(); assertSame(multimap, SerializableTester.reserialize(multimap)); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableListMultimap.class); tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertFalse(rangeSet.encloses(Range.singleton(0))); assertTrue(rangeSet.enclosesAll(rangeSet)); assertTrue(rangeSet.isEmpty()); } public void testAll() { ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.all(); assertThat(rangeSet.asRanges()).contains(Range.<Integer>all()); assertTrue(rangeSet.contains(0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(CLOSED, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(-\u221e..4]", range.toString()); reserializeAndAssert(range); } public void testAll() { Range<Integer> range = Range.all(); assertTrue(range.contains(Integer.MIN_VALUE)); assertTrue(range.contains(Integer.MAX_VALUE)); assertUnboundedBelow(range); assertUnboundedAbove(range);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (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); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
.addEqualityGroup(Prepender.method("privateMethod"), Prepender.method("privateMethod")) .addEqualityGroup(Prepender.method("privateFinalMethod")) .testEquals(); } public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(Invokable.class); new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod")); } @Retention(RetentionPolicy.RUNTIME)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random)); } } } } public void testNulls() { NullPointerTester tester = new NullPointerTester() .setDefault(SleepingStopwatch.class, stopwatch) .setDefault(int.class, 1) .setDefault(double.class, 1.0d);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random)); } } } } public void testNulls() { NullPointerTester tester = new NullPointerTester() .setDefault(SleepingStopwatch.class, stopwatch) .setDefault(int.class, 1) .setDefault(double.class, 1.0d);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
.addEqualityGroup(Prepender.method("privateMethod"), Prepender.method("privateMethod")) .addEqualityGroup(Prepender.method("privateFinalMethod")) .testEquals(); } public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(Invokable.class); new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod")); } @Retention(RetentionPolicy.RUNTIME)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0)