Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testEqualsAndSerializable (0.13 sec)

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

              "testSerializable", "testSerialization",
              "testEqualsAndSerializable", "testEqualsAndSerialization");
    
      /* The names of the expected method that tests equals. */
      private static final ImmutableList<String> EQUALS_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testEquals",
              "testEqualsAndHashCode",
              "testEqualsAndSerializable",
              "testEqualsAndSerialization",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

              "testSerializable", "testSerialization",
              "testEqualsAndSerializable", "testEqualsAndSerialization");
    
      /* The names of the expected method that tests equals. */
      private static final ImmutableList<String> EQUALS_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testEquals",
              "testEqualsAndHashCode",
              "testEqualsAndSerializable",
              "testEqualsAndSerialization",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PredicatesTest.java

      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
      public void testEqualsAndSerializable() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testEqualsAndSerializable();
      }
    
      private static void assertEvalsToTrue(Predicate<? super @Nullable Integer> predicate) {
        assertTrue(predicate.apply(0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testHashCode_nulls() throws Exception {
        sanityTester().testNulls();
      }
    
      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testHashCode_nulls() throws Exception {
        sanityTester().testNulls();
      }
    
      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

         *
         * @return this tester
         */
        @CanIgnoreReturnValue
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public FactoryMethodReturnValueTester testEqualsAndSerializable() throws Exception {
          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            try {
              testEqualsUsing(factory);
            } catch (FactoryMethodReturnsNullException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top