Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 394 for Android (0.05 sec)

  1. guava-testlib/src/com/google/common/testing/FakeTicker.java

      }
    
      /**
       * Advances the ticker value by {@code duration}.
       *
       * @since 28.0
       */
      @GwtIncompatible
      @J2ktIncompatible
      @CanIgnoreReturnValue
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 11 14:30:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java

    import com.google.common.collect.SortedSetMultimap;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link SortedSetMultimap#get(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SortedSetMultimapGetTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testValueComparator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 25 20:20:10 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    import com.google.common.collect.testing.AbstractCollectionTester;
    import java.util.Set;
    import org.junit.Ignore;
    
    /** @author George van den Driessche */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
          return;
        }
        fail("Should have thrown");
      }
    
      @AndroidIncompatible // TODO(cpovirk): java.lang.IllegalAccessError: superclass not accessible
      public void testSuccessfulForwarding() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionSizeTester<E> extends AbstractCollectionTester<E> {
      public void testSize() {
        assertEquals("size():", getNumElements(), collection.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.3K bytes
    - Viewed (0)
Back to top