Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for assertPing (0.29 sec)

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

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableCollectionTests {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
      /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */
      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter.join();
        future.set(null);
        poller.join();
      }
    
      public void testToString_allUnique() throws Exception {
        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableCollectionTests {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
      /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */
      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              }
            }
          }
          return this;
        }
    
        /**
         * Tests {@link Object#equals} and {@link Object#hashCode} against the return values of the
         * static methods, by asserting that when equal parameters are passed to the same static method,
         * the return value should also be equal; and vice versa.
         *
         * <p>Test fails if default value cannot be determined for a constructor or factory method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/SerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter.join();
        future.set(null);
        poller.join();
      }
    
      public void testToString_allUnique() throws Exception {
        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              }
            }
          }
          return this;
        }
    
        /**
         * Tests {@link Object#equals} and {@link Object#hashCode} against the return values of the
         * static methods, by asserting that when equal parameters are passed to the same static method,
         * the return value should also be equal; and vice versa.
         *
         * <p>Test fails if default value cannot be determined for a constructor or factory method
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top