Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 267 for testOf (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * @author George van den Driessche
     */
    @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")
    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

     * graph. The following test cases are left for the subclasses to handle:
     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable.
     *   <li>Test cases related to the specific implementation of the {@link Network} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullArguments() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(CaseFormat.class);
        for (CaseFormat format : CaseFormat.values()) {
          tester.testAllPublicInstanceMethods(format);
        }
      }
    
      public void testLowerHyphenToLowerHyphen() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

    import java.util.Map.Entry;
    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: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import java.util.Collection;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Strings.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestMapGenerator<K, V> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/core/collection/LruHashSet.java

            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top