- Sort Score
- Num 10 results
- Language All
Results 3541 - 3550 of 4,888 for extend (0.04 seconds)
-
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
import java.util.stream.LongStream; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** Tests for {@code CollectSpliterators}. */ @GwtCompatible @NullMarked public class CollectSpliteratorsTest extends TestCase { public void testMap() { SpliteratorTester.of( () -> CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@link HashMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class HashMultimapTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ @NullUnmarked public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@link HashMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class HashMultimapTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class ConcurrentMapRemoveTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListEqualsTester<E> extends AbstractListTester<E> { public void testEquals_otherListWithSameElements() { assertTrue( "A List should equal any other List containing the same elements.",Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapRemoveEntryTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemove_supportedPresent() { assertTrue(getMap().remove(k0(), v0())); expectMissing(e0());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetEqualsTester<E> extends AbstractSetTester<E> { public void testEquals_otherSetWithSameElements() { assertTrue( "A Set should equal any other Set containing the same elements.",Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ @NullUnmarked public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0)