- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 844 for testes (0.05 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
/** * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
@J2ktIncompatible public void testStringConverter_nullPointerTester() throws Exception { Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(converter); } public void testStringConverter_nullConversions() { Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EvictingQueueTest.java
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
package com.google.common.collect.testing; import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsAddMethod; import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod; import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
@GwtIncompatible // reflection public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableMultimap.class); tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class)); tester.testAllPublicInstanceMethods(ImmutableMultimap.of()); tester.testAllPublicInstanceMethods(ImmutableMultimap.of("a", 1)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#computeIfAbsent}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
} public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods( new HashingOutputStream(sha512(), new ByteArrayOutputStream())); tester.testAllPublicStaticMethods(HashingOutputStream.class); tester.testAllPublicConstructors(HashingOutputStream.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
} private static HostSpecifier spec(String specifier) { return HostSpecifier.fromValid(specifier); } public void testNulls() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(HostSpecifier.class); tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com")); } private void assertGood(String spec) throws ParseException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0)