- Sort Score
- Result 10 results
- Languages All
Results 3321 - 3330 of 3,920 for extenders (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
/** * Tests for {@code GeneralRange}. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class GeneralRangeTest extends TestCase { private static final Ordering<@Nullable Integer> ORDERING = Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES = asList(null, 1, 2, 3, 4, 5);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
/** * Collection tests on wrappers from {@link Multisets}. * * @author Jared Levy */ @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version public class MultisetsCollectionTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( MultisetTestSuiteBuilder.using(unmodifiableMultisetGenerator()) .withFeatures(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
*/ @GwtCompatible(emulated = true) @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapPutTester<K, V> extends AbstractMapTester<K, V> { private Entry<K, V> nullKeyEntry; private Entry<K, V> nullValueEntry; private Entry<K, V> nullKeyValueEntry; private Entry<K, V> presentKeyNullValueEntry; @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
*/ @GwtIncompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class NavigableSetNavigationTester<E> extends AbstractSetTester<E> { private NavigableSet<E> navigableSet; private List<E> values; private E a; private E b; private E c; @Override public void setUp() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
* @author Jared Levy */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link HostAndPort} * * @author Paul Marks */ @GwtCompatible public class HostAndPortTest extends TestCase { public void testFromStringWellFormed() { // Well-formed inputs. checkFromStringCase("google.com", 80, "google.com", 80, false); checkFromStringCase("google.com", 80, "google.com", 80, false);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
import com.google.common.hash.HashTestUtils.HashFn; import java.nio.charset.Charset; import java.util.Random; import junit.framework.TestCase; /** Tests for {@link Murmur3_32HashFunction}. */ public class Murmur3Hash32Test extends TestCase { public void testKnownIntegerInputs() { assertHash(593689054, murmur3_32().hashInt(0)); assertHash(-189366624, murmur3_32().hashInt(-42)); assertHash(-1134849565, murmur3_32().hashInt(42));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:29:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
import java.util.concurrent.locks.ReentrantReadWriteLock; import junit.framework.TestCase; /** * Tests for Striped. * * @author Dimitris Andreou */ public class StripedTest extends TestCase { private static List<Striped<?>> strongImplementations() { return ImmutableList.of( Striped.readWriteLock(100), Striped.readWriteLock(256), Striped.lock(100),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
import java.util.HashSet; import java.util.Set; import junit.framework.TestCase; /** * Tests for {@link Enums}. * * @author Steve McKay */ @GwtIncompatible @J2ktIncompatible public class EnumsTest extends TestCase { private enum TestEnum { CHEETO, HONDA, POODLE, } public void testGetIfPresent() { assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
* slice()} views in the same way. * * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> { private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0)