Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 99 of 99 for SerializableTester (0.13 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.testing.FakeTicker;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import com.google.common.testing.TestLogHandler;
    import com.google.common.util.concurrent.ListenableFuture;
    import com.google.common.util.concurrent.ListeningExecutorService;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

    import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.stream;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null) {
              try {
                SerializableTester.reserialize(instance);
              } catch (Exception e) { // sneaky checked exception
                throw new AssertionError(
                    "Serialization failed on return value of " + factory, e.getCause());
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import static com.google.common.primitives.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.primitives.TestPlatform.reduceIterationsIfGwt;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.stream;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RangeTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testCompareToAndEquals;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class ITryToSerializeMyTypeVariable<T> {
        void go() {
          SerializableTester.reserialize(TypeToken.of(new TypeCapture<T>() {}.capture()));
        }
      }
    
      @CanIgnoreReturnValue
      private static <T> T reserialize(T object) {
        T copy = SerializableTester.reserialize(object);
        new EqualsTester().addEqualityGroup(object, copy).testEquals();
        return copy;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static class ITryToSerializeMyTypeVariable<T> {
        void go() {
          SerializableTester.reserialize(TypeToken.of(new TypeCapture<T>() {}.capture()));
        }
      }
    
      @CanIgnoreReturnValue
      private static <T> T reserialize(T object) {
        T copy = SerializableTester.reserialize(object);
        new EqualsTester().addEqualityGroup(object, copy).testEquals();
        return copy;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException... ClassSanityTesterTest$AnInterface
      public void testInterfaceProxySerializable() throws Exception {
        SerializableTester.reserializeAndAssert(tester.instantiate(HasAnInterface.class));
      }
    
      public void testReturnValuesFromAnotherPackageIgnoredForNullTests() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/RangeTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.testCompareToAndEquals;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top