- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for testAllPublicInstanceMethods (0.11 sec)
-
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
tester.testAllPublicStaticMethods(ImmutableSortedMap.class); tester.testAllPublicInstanceMethods(ImmutableSortedMap.<String, Integer>naturalOrder()); tester.testAllPublicInstanceMethods(ImmutableSortedMap.of()); tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1)); tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1, "two", 2, "three", 3)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
NullPointerTester npTester = new NullPointerTester(); npTester.testAllPublicConstructors(ThreadFactoryBuilder.class); npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class); npTester.testAllPublicInstanceMethods(builder); } private static String rootLocaleFormat(String format, Object... args) { return String.format(Locale.ROOT, format, args); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
list.add(THROWING_RUNNABLE, directExecutor()); list.execute(); list.add(THROWING_RUNNABLE, directExecutor()); } public void testNulls() { new NullPointerTester().testAllPublicInstanceMethods(new ExecutionList()); } private static final Runnable THROWING_RUNNABLE = new Runnable() { @Override public void run() { throw new RuntimeException();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
@NullUnmarked public class MapMakerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new MapMaker()); } @GwtIncompatible // threads static final class DelayingIdentityLoader<T> implements Function<T, T> { private final CountDownLatch delayLatch;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
@NullUnmarked public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} fail(); } public void testInterfaceDefaultMethod() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(InterfaceDefaultMethodChecksNull.create()); try { tester.testAllPublicInstanceMethods(InterfaceDefaultMethodFailsToCheckNull.create()); } catch (AssertionError expected) { return; } fail(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0)