Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 618 for tester (0.2 sec)

  1. guava-tests/test/com/google/common/base/PredicatesTest.java

        NullPointerTester tester = new NullPointerTester();
        Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo");
    
        tester.testAllPublicInstanceMethods(isWooString);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testContains_nulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(AtomicLongMap.class);
        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Skeleton for a tester of a {@code BiMap}. */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        NullPointerTester tester = new NullPointerTester();
        Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo");
    
        tester.testAllPublicInstanceMethods(isWooString);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testContains_nulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
     * <p>If your iterator supports modification through {@code remove()}, you may wish to override the
     * verify() method, which is called after each sequence and is guaranteed to be called
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.remove}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
     * <p>If your iterator supports modification through {@code remove()}, you may wish to override the
     * verify() method, which is called after each sequence and is guaranteed to be called
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top