Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail("should have failed");
      }
    
      public void testEqualsAndSerializableOnReturnValues_serializableButNotEquals() throws Exception {
        try {
          tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testEqualsAndSerializable();
        } catch (AssertionError expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FunctionsTest.java

      // (I suspect that this and the other similar failures happen with ArbitraryInstances proxies.)
      public void testEqualsAndSerializable() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testEqualsAndSerializable();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      private static <Y> void checkCanReserialize(Function<? super Integer, Y> f) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      // (I suspect that this and the other similar failures happen with ArbitraryInstances proxies.)
      public void testEqualsAndSerializable() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testEqualsAndSerializable();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      private static <Y> void checkCanReserialize(Function<? super Integer, Y> f) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top