- Sort Score
- Result 10 results
- Languages All
Results 2641 - 2650 of 3,920 for extenders (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
import java.util.concurrent.CountDownLatch; import junit.framework.TestCase; /** * @author Charles Fry */ @GwtCompatible(emulated = true) @J2ktIncompatible // MapMaker public class MapMakerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new MapMaker()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
import com.google.common.collect.ImmutableMap; import java.util.Map; import junit.framework.TestCase; /** @author David Beaumont */ @GwtCompatible public class ArrayBasedEscaperMapTest extends TestCase { public void testNullMap() { assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null)); } public void testEmptyMap() { Map<Character, String> map = ImmutableMap.of();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ForwardingGraph.java
* currently planned to be released as a general-purpose forwarding class. * * @author James Sexton */ @ElementTypesAreNonnullByDefault abstract class ForwardingGraph<N> extends AbstractGraph<N> { abstract BaseGraph<N> delegate(); @Override public Set<N> nodes() { return delegate().nodes(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
* * @author Jared Levy */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class QueuePollTester<E> extends AbstractQueueTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToStringEmpty() { assertEquals("{}", multimap().toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testValues() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
/** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class OneSizeGenerator<T, E extends @Nullable Object> implements OneSizeTestContainerGenerator<T, E> { private final TestContainerGenerator<T, E> generator; private final CollectionSize collectionSize;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
* @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapClearTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) public void testClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().clear(); assertTrue(getMap().isEmpty());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
import java.util.Arrays; import junit.framework.TestCase; /** * Unit test for {@link Charsets}. * * @author Mike Bostock */ @GwtCompatible(emulated = true) public class CharsetsTest extends TestCase { @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUsAscii() { assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.util.Map; import junit.framework.TestCase; /** Tests for {@link Reflection} */ public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2.7K bytes - Viewed (0)