Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for testudo (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
            .testEquals();
      }
    
      /* Remaining behavior tested by AbstractBiMapTest. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAdd_unsupportedNotPresent() {
        try {
          collection.add(e3());
          fail("add(notPresent) should throw");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/StreamsTest.java

    @ElementTypesAreNonnullByDefault
    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
       */
      public void testStream_nonCollection() {
        assertThat(stream(FluentIterable.of())).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = Lists.newArrayList(asList("a", "b"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MoreFilesTest.java

    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@link MoreFiles}.
     *
     * <p>Note: {@link MoreFiles#fileTraverser()} is tested in {@link MoreFilesFileTraverserTest}.
     *
     * @author Colin Decker
     */
    
    public class MoreFilesTest extends TestCase {
    
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

            LongMath.mod(x, 0);
            fail("Expected AE");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // TODO
      public void testMod() {
        for (long x : ALL_LONG_CANDIDATES) {
          for (long m : POSITIVE_LONG_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m));
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

    import org.junit.Ignore;
    
    /**
     * Testers for {@link com.google.common.collect.ListMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/Feature.java

     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Base class for enumerating the features of an interface to be tested.
     *
     * @param <T> The interface whose features are to be enumerated.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface Feature<T> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates bimaps, containing sample entries, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top