- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 140 for test_id (0.1 sec)
-
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) -128); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
private final List<Member> ignoredMembers = new ArrayList<>(); private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE; /* * Requiring desugaring for guava-*testlib* is likely safe, at least for the reflection-based * NullPointerTester. But if you are a user who is reading this because this change caused you * trouble, please let us know: https://github.com/google/guava/issues/new */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
/* * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself * well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */ map.put(Integer.class, new Integer(5)); assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
for (int i = 0; i < expected.length; i++) { assertEquals(expected[i], got[i]); } } } // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!) private static class Control extends AbstractNonStreamingHashFunction { @Override public HashCode hashBytes(byte[] input, int off, int len) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and // Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable. public void testConsumingIterable() { // Test data List<String> list = new ArrayList<>(asList("a", "b"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
@Param ExceptionType exceptionType; /** * The number of other exception types in the cache of known-good exceptions and the number of * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate * whether our solution scales to use with multiple exception types and to whether it is affected * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
return map.isEmpty(); } /** * Returns true if this set contains the specified element. * * @param o * element whose presence in this set is to be tested. * @return true if this set contains the specified element. */ @Override public boolean contains(final Object o) { return map.containsKey(o); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
// Then, run the actual tests under each alternative classloader: /* * Under Java 8, there is no need to test the no-VarHandle case here: It's already tested by the * main AbstractFutureTest, which uses the default AtomicHelper, which we verified above to be * UnsafeAtomicHelper. */ if (!isJava8()) { runTestMethod(NO_VAR_HANDLE); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
CollectionSize.ANY) .createTestSuite()); suite.addTestSuite(HashMultimapTest.class); return suite; } /* * The behavior of toString() is tested by TreeMultimap, which shares a * lot of code with HashMultimap and has deterministic iteration order. */ public void testCreate() { HashMultimap<String, Integer> multimap = HashMultimap.create();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.4K bytes - Viewed (0)