Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 113 for SerializableTester (0.05 sec)

  1. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeWholeSubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements()));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeEmptySubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, 0));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeWholeSubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements()));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeEmptySubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, 0));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    import com.google.common.collect.Synchronized.SynchronizedCollection;
    import com.google.common.collect.Synchronized.SynchronizedSet;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            try {
              Object instance = tester.instantiate(classToTest);
              if (instance != null) {
                if (isEqualsDefined(classToTest)) {
                  SerializableTester.reserializeAndAssert(instance);
                } else {
                  SerializableTester.reserialize(instance);
                }
              }
            } catch (Throwable e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.AbstractList;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

                  builderWithKeys.linkedHashSetValues(),
                  builderWithKeys.treeSetValues(),
                  builderWithKeys.enumSetValues(RoundingMode.class))) {
            /*
             * Temporarily inlining SerializableTester here for obscure internal reasons.
             */
            reserializeAndAssert(builder.build());
          }
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          bf.put(Ints.toByteArray(i));
        }
    
        BloomFilter<byte[]> copy = SerializableTester.reserialize(bf);
        for (int i = 0; i < 10; i++) {
          assertTrue(copy.mightContain(Ints.toByteArray(i)));
        }
        assertThat(copy.expectedFpp()).isEqualTo(bf.expectedFpp());
    
        SerializableTester.reserializeAndAssert(bf);
      }
    
      public void testCustomSerialization() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

    import com.google.common.collect.testing.google.BiMapTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestBiMapGenerator;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testLexicographicalComparatorSerializable() {
        Comparator<char[]> comparator = Chars.lexicographicalComparator();
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
      }
    
      public void testReverse() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top