- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for testEmpty (0.19 sec)
-
android/guava-tests/test/com/google/common/collect/QueuesTest.java
assertEquals(0, drain(q, ImmutableList.of(), 0, 10, MILLISECONDS, interruptibly)); } } public void testEmpty() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { testEmpty(q); } } private void testEmpty(BlockingQueue<Object> q) { assertDrained(q); } public void testNegativeMaxElements() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
assertEquals(0, drain(q, ImmutableList.of(), 0, 10, MILLISECONDS, interruptibly)); } } public void testEmpty() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { testEmpty(q); } } private void testEmpty(BlockingQueue<Object> q) { assertDrained(q); } public void testNegativeMaxElements() throws Exception {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
67108864, 134217728, 268435456, 536870912, 1073741824) .inOrder(); } @SuppressWarnings("DoNotCall") public void testEmpty() { Iterator<Object> empty = new EmptyAbstractSequentialIterator<>(); assertFalse(empty.hasNext()); try { empty.next(); fail(); } catch (NoSuchElementException expected) { }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
assertEquals( Lists.newArrayList(map.values()), Lists.newArrayList(SerializableTester.reserialize(map.values()))); } @GwtIncompatible // SerializableTester public void testEmpty_serialization() { SortedSet<String> set = new SafeTreeSet<>(); SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); assertEquals(set.comparator(), copy.comparator()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
assertEquals( Lists.newArrayList(map.values()), Lists.newArrayList(SerializableTester.reserialize(map.values()))); } @GwtIncompatible // SerializableTester public void testEmpty_serialization() { SortedSet<String> set = new SafeTreeSet<>(); SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); assertEquals(set.comparator(), copy.comparator()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheStatsTest.java
package com.google.common.cache; import junit.framework.TestCase; /** * Unit test for {@link CacheStats}. * * @author Charles Fry */ public class CacheStatsTest extends TestCase { public void testEmpty() { CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertEquals(1.0, stats.hitRate()); assertEquals(0, stats.missCount());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Sun Jun 30 14:58:49 GMT 2019 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
67108864, 134217728, 268435456, 536870912, 1073741824) .inOrder(); } @SuppressWarnings("DoNotCall") public void testEmpty() { Iterator<Object> empty = new EmptyAbstractSequentialIterator<>(); assertFalse(empty.hasNext()); try { empty.next(); fail(); } catch (NoSuchElementException expected) { }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} public void testEmpty_comparator() { SortedSet<String> set = of(); assertSame(Ordering.natural(), set.comparator()); } public void testEmpty_headSet() { SortedSet<String> set = of(); assertSame(set, set.headSet("c")); } public void testEmpty_tailSet() { SortedSet<String> set = of(); assertSame(set, set.tailSet("f"));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} public void testEmpty_comparator() { SortedSet<String> set = of(); assertSame(Ordering.natural(), set.comparator()); } public void testEmpty_headSet() { SortedSet<String> set = of(); assertSame(set, set.headSet("c")); } public void testEmpty_tailSet() { SortedSet<String> set = of(); assertSame(set, set.tailSet("f"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheStatsTest.java
package com.google.common.cache; import junit.framework.TestCase; /** * Unit test for {@link CacheStats}. * * @author Charles Fry */ public class CacheStatsTest extends TestCase { public void testEmpty() { CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertEquals(1.0, stats.hitRate()); assertEquals(0, stats.missCount());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Jun 30 14:58:49 GMT 2019 - 4.6K bytes - Viewed (0)