- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 81 for testAllPublicInstanceMethods (0.24 seconds)
-
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 = () -> { throw new RuntimeException(); };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (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 = () -> { throw new RuntimeException(); };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
return concat(strongImplementations(), weakImplementations()); } public void testNull() throws Exception { for (Striped<?> striped : allImplementations()) { new NullPointerTester().testAllPublicInstanceMethods(striped); } } public void testSizes() { // not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
return concat(strongImplementations(), weakImplementations()); } public void testNull() throws Exception { for (Striped<?> striped : allImplementations()) { new NullPointerTester().testAllPublicInstanceMethods(striped); } } public void testSizes() { // not bothering testing all variations, since we know they share implementations assertThat(Striped.lock(100).size()).isAtLeast(100);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} public void testNulls() { monitor.enter(); // Inhibit IllegalMonitorStateException new NullPointerTester() .setDefault(Monitor.Guard.class, new TestGuard(true)) .testAllPublicInstanceMethods(monitor); } // TODO: Test enter(long, TimeUnit). // TODO: Test enterWhen(Guard, long, TimeUnit). // TODO: Test enterIf(Guard, long, TimeUnit). // TODO: Test waitFor(Guard, long, TimeUnit).
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(EnumHashBiMap.class); new NullPointerTester().testAllPublicInstanceMethods(EnumHashBiMap.create(Currency.class)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} public void testNulls() { monitor.enter(); // Inhibit IllegalMonitorStateException new NullPointerTester() .setDefault(Monitor.Guard.class, new TestGuard(true)) .testAllPublicInstanceMethods(monitor); } // TODO: Test enter(long, TimeUnit). // TODO: Test enterWhen(Guard, long, TimeUnit). // TODO: Test enterIf(Guard, long, TimeUnit). // TODO: Test waitFor(Guard, long, TimeUnit).
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(EnumHashBiMap.class); new NullPointerTester().testAllPublicInstanceMethods(EnumHashBiMap.create(Currency.class)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
@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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
.testForwarding(String.class, Functions.<String>identity())); } public void testNulls() { new NullPointerTester() .setDefault(Class.class, Runnable.class) .testAllPublicInstanceMethods(new ForwardingWrapperTester()); } private <T> void assertFailure( Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, String... expectedMessages) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0)