- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 75 for testAllPublicInstanceMethods (0.14 sec)
-
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
assertEquals(expectedHash, in.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class); tester.testAllPublicConstructors(HashingInputStream.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
assertEquals(expectedHash, in.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class); tester.testAllPublicConstructors(HashingInputStream.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (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 assertTrue(Striped.lock(100).size() >= 100);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(converter); } @GwtIncompatible // stringConverter public void testStringConverter_nullConversions() { Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (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 assertTrue(Striped.lock(100).size() >= 100);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
tester.testAllPublicStaticMethods(ImmutableMap.class); tester.testAllPublicInstanceMethods(new ImmutableMap.Builder<Object, Object>()); tester.testAllPublicInstanceMethods(ImmutableMap.of()); tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1)); tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1, "two", 2, "three", 3)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. public void testAdvance() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.5K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
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); } public void testSerialization() { EvictingQueue<String> original = EvictingQueue.create(5); original.add("one"); original.add("two"); original.add("three");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
tester.testAllPublicInstanceMethods(isWooString); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testContains_nulls() throws Exception { NullPointerTester tester = new NullPointerTester(); Predicate<CharSequence> isWooPattern = Predicates.contains(Pattern.compile("Woo")); tester.testAllPublicInstanceMethods(isWooPattern); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0)