Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 113 for SerializableTester (0.18 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/EnumsTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.File;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.ref.WeakReference;
    import java.lang.reflect.Field;
    import java.net.MalformedURLException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testLexicographicalComparatorSerializable() {
        Comparator<double[]> comparator = Doubles.lexicographicalComparator();
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testStringConverterSerialization() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code UnsignedLong}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import static com.google.common.collect.testing.testers.NavigableSetNavigationTester.getHoleMethods;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top