Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for reserialized (0.17 sec)

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

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

          derivedSuites.add(
              CollectionTestSuiteBuilder.using(
                      new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
                  .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures()))
                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        Set<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableSet);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
        assertEquals(original, copy);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 04 15:33:27 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        Set<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableSet);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
        assertEquals(original, copy);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 04 15:33:27 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. src/crypto/x509/sec1_test.go

    		}
    		serialized, err := MarshalECPrivateKey(key)
    		if err != nil {
    			t.Fatalf("#%d: failed to encode EC private key: %s", i, err)
    		}
    		matches := bytes.Equal(serialized, derBytes)
    		if matches != test.shouldReserialize {
    			t.Fatalf("#%d: when serializing key: matches=%t, should match=%t: original %x, reserialized %x", i, matches, test.shouldReserialize, serialized, derBytes)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 19:34:12 UTC 2019
    - 5.4K bytes
    - Viewed (0)
Back to top