Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 120 for testudo (0.17 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isAnnotationPresent(Tested.class));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Tested {}
    
      private abstract static class A {
        @Tested private boolean privateField;
        @Tested int packagePrivateField;
        @Tested protected int protectedField;
        @Tested public String publicField;
        @Tested private static Iterable<String> staticField;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        assertEquals(0, multiset.count(KEY));
      }
    
      public void testAdd_zero() {
        final int INITIAL_COUNT = 32;
    
        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT));
        assertEquals(INITIAL_COUNT, multiset.add(KEY, 0));
      }
    
      public void testAdd_firstFewWithSuccess() {
        final int COUNT = 400;
    
        when(backingMap.get(KEY)).thenReturn(null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the object reference being tested is
       * null.
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is not
       * null.
       */
      @GwtCompatible(serializable = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

    import java.util.SortedSet;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SortedSetMultimap#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.
    public class SortedSetMultimapAsMapTester<K, V>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingTest.java

     * tests to reference them from there.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    public class HashingTest extends TestCase {
      public void testMd5() {
        HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.md5());
        HashTestUtils.checkNoFunnels(Hashing.md5());
        HashTestUtils.assertInvariants(Hashing.md5());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingObject.java

     * object being tested for equality to the custom interface. {@code ForwardingObject} implements no
     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
     * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the
     * object being tested, but the reverse could not be true. This behavior is consistent with the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        assertEquals("a", iterator.next());
        try {
          iterator.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top