Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 267 for testOf (0.09 sec)

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

        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
        for (T item : items) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#containsValue}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
        tester.ignore(LinkedListMultimap.class.getMethod("removeAll", Object.class));
        tester.testAllPublicInstanceMethods(LinkedListMultimap.create());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(MinMaxPriorityQueue.class);
        tester.testAllPublicStaticMethods(MinMaxPriorityQueue.class);
        tester.testAllPublicInstanceMethods(MinMaxPriorityQueue.<String>create());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CollectPreconditions.java

      }
    
      static void checkPositive(int value, String name) {
        if (value <= 0) {
          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.entries}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Encapsulates the constraints that a class under test must satisfy in order for a tester method to
     * be run against that class.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public final class TesterRequirements {
      private final Set<Feature<?>> presentFeatures;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.clear}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.clear}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            });
      }
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
      /** Tests that we never get an optimal hashes number of zero. */
      public void testOptimalHashes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top