- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 54 for Cooper (0.29 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
private ArrayWithDuplicate(E[] elements, E duplicate) { this.elements = elements; this.duplicate = duplicate; } } /** * @return an array of the proper size with a duplicate element. The size must be at least three. */ protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() { E[] elements = createSamplesArray();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
* ClassNotFoundException thereafter. * * Android API level 26 and JVM8 both let our Error propagate directly the first time and * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec. * See https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.4.2 (steps #11 and * #5). *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
/** Unit test for {@link Streams}. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class StreamsTest extends TestCase { /* * Full and proper black-box testing of a Stream-returning method is extremely involved, and is * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and * just test that the toArray() contents are as expected.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertSame(a, numberOrdering.max(ints)); assertSame(a, numberOrdering.min(ints)); } public void testVarargsMinAndMax() { // try the min and max values in all positions, since some values are proper // parameters and others are from the varargs array assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8)); assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
// If ApiProxy doesn't exist, we're not on AppEngine at all. return false; } catch (InvocationTargetException e) { // If ApiProxy throws an exception, we're not in a proper AppEngine environment. return false; } catch (IllegalAccessException e) { // If the method isn't accessible, we're not on a supported version of AppEngine; return false;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertSame(a, numberOrdering.max(ints)); assertSame(a, numberOrdering.min(ints)); } public void testVarargsMinAndMax() { // try the min and max values in all positions, since some values are proper // parameters and others are from the varargs array assertEquals(9, (int) numberOrdering.max(9, 3, 0, 5, 8)); assertEquals(9, (int) numberOrdering.max(5, 9, 0, 3, 8));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
* bug where the loop that connects a Listener to each of the futures would die on the last * loop-check as done() on ListFuture nulled out the variable being looped over (the list of * futures). */ public void testAllAsList_doneFutures() throws Exception { // Create input and output SettableFuture<String> future1 = SettableFuture.create();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * <p>NOTE: This method is different from {@link Inet6Address#isIPv4CompatibleAddress} in that it * more correctly classifies {@code "::"} and {@code "::1"} as proper IPv6 addresses (which they * are), NOT IPv4 compatible addresses (which they are generally NOT considered to be). * * @param ip {@link Inet6Address} to be examined for embedded IPv4 compatible address format
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
/** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */ public void testTestEqualsEmptyLists() { equalsTester.addEqualityGroup(reference); equalsTester.testEquals(); } /** * Test EqualsTester after populating equalObjects. This checks proper handling of equality and * verifies hashCode for valid objects */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/SerializableTester.java
/** * Tests serialization and deserialization of an object, optionally asserting that the resulting * object is equal to the original. * * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT * serialization tests require more setup. This no-op behavior allows test authors to intersperse * {@code SerializableTester} calls with other, GWT-compatible tests. * * @author Mike Bostock * @since 10.0 */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Apr 25 11:57:12 GMT 2023 - 4.1K bytes - Viewed (0)