- Sort Score
- Result 10 results
- Languages All
Results 3311 - 3320 of 3,991 for extends (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapAsMapTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testAsMapGet() { for (K key : sampleKeys()) { List<V> expectedValues = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapRemoveEntryTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAbsent() { assertFalse(multimap().remove(k0(), v1())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
*/ @GwtCompatible(emulated = true) // We also want to test the TimeUnit overload (especially under GWT, where it's the only option). @SuppressWarnings("SetAutoIncrementStep_Nanos") public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
} // TODO(cpovirk): should we reject null items, since the tests already check null automatically? @CanIgnoreReturnValue public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) { groups.add(ImmutableList.copyOf(group)); return this; } public void test() { for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
/** * Tests for {@link ImmutableMultimap}. * * @author Jared Levy */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class ImmutableMultimapTest extends TestCase { @SuppressWarnings("JUnitIncompatibleType") public void testBuilder_withImmutableEntry() { ImmutableMultimap<String, Integer> multimap =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
import static org.junit.Assert.assertThrows; import junit.framework.TestCase; /** * Tests for {@link LinearTransformation}. * * @author Pete Gillin */ public class LinearTransformationTest extends TestCase { private static final double ALLOWED_ERROR = 1e-10; public void testMappingAnd_regular() { double x1 = 1.2; double y1 = 3.4; double xDelta = 5.6; double yDelta = 7.8;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MutableNetwork.java
* @author Joshua O'Madadhain * @param <N> Node parameter type * @param <E> Edge parameter type * @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault public interface MutableNetwork<N, E> extends Network<N, E> { /** * Adds {@code node} if it is not already present. * * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
* @author Joshua O'Madadhain * @author Omar Darwish * @param <N> Node parameter type * @param <E> Edge parameter type */ @ElementTypesAreNonnullByDefault final class StandardMutableNetwork<N, E> extends StandardNetwork<N, E> implements MutableNetwork<N, E> { /** Constructs a mutable graph with the properties specified in {@code builder}. */ StandardMutableNetwork(NetworkBuilder<? super N, ? super E> builder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
/** * Unit test for {@link Equivalence}. * * @author Jige Yu */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class EquivalenceTest extends TestCase { public void testPairwiseEquivalent() { EquivalenceTester.of(Equivalence.equals().<String>pairwise()) .addEquivalenceGroup(ImmutableList.<String>of()) .addEquivalenceGroup(ImmutableList.of("a"))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0)