Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,274 for tester (0.13 sec)

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

    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#containsValue}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultimapContainsValueTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private Set<Feature<?>> conflicts;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              .build();
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
        tester.testAllPublicConstructors(MacHashFunction.class);
        tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString"));
      }
    
      public void testHashing() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. testing/precondition-tester/src/test/groovy/org/gradle/test/precondition/PreconditionProbingTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.test.precondition
    
    import org.junit.jupiter.api.Assumptions
    import spock.lang.Specification
    
    /**
     * This class executes a special test suite, checking all the allowed precondition combinations.
     *
     * <p>
     * Each combination can have three outcomes:
     * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.collect.ForwardingObject;
    import com.google.common.collect.Iterables;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.collect.ForwardingObject;
    import com.google.common.collect.Iterables;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private Set<Feature<?>> conflicts;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
Back to top