- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for testAllPublicConstructors (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
assertThrows(NullPointerException.class, () -> Atomics.newReferenceArray(null)); } public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(Atomics.class); // there aren't any tester.testAllPublicStaticMethods(Atomics.class); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
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/EvictingQueueTest.java
@GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(EvictingQueue.class); tester.testAllPublicConstructors(EvictingQueue.class); EvictingQueue<String> queue = EvictingQueue.create(5); // The queue must be non-empty so it throws a NPE correctly queue.add("one"); tester.testAllPublicInstanceMethods(queue);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class); tester.testAllPublicConstructors(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/base/OptionalTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester npTester = new NullPointerTester(); npTester.testAllPublicConstructors(Optional.class); npTester.testAllPublicStaticMethods(Optional.class); npTester.testAllPublicInstanceMethods(Optional.absent()); npTester.testAllPublicInstanceMethods(Optional.of("training")); }
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-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
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/hash/MacHashFunctionTest.java
.buildOrThrow(); public void testNulls() { NullPointerTester tester = new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY); tester.testAllPublicConstructors(MacHashFunction.class); tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString")); } public void testHashing() throws Exception { for (String stringToTest : INPUTS) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
private final Random random = new Random(301); @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(AtomicLongMap.class); tester.testAllPublicStaticMethods(AtomicLongMap.class); AtomicLongMap<Object> map = AtomicLongMap.create(); tester.testAllPublicInstanceMethods(map); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
.buildOrThrow(); public void testNulls() { NullPointerTester tester = new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY); tester.testAllPublicConstructors(MacHashFunction.class); tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString")); } public void testHashing() throws Exception { for (String stringToTest : INPUTS) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
testConstructor(constructor); } } } /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */ public void testAllPublicConstructors(Class<?> c) { testConstructors(c, Visibility.PUBLIC); } /** * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0)