- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for SerializableTester (0.09 sec)
-
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* serialization tests require more setup. This no-op behavior allows test authors to intersperse * {@code SerializableTester} calls with other, GWT-compatible tests. * * @author Mike Bostock * @since 10.0 */ @GwtCompatible // but no-op! @NullMarked public final class SerializableTester { private SerializableTester() {} /** * Serializes and deserializes the specified object. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java
import com.google.common.collect.testing.AbstractMapTester; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.testing.EqualsTester; import com.google.common.testing.SerializableTester; import java.util.Map; import org.junit.Ignore; /** * Basic serialization test for maps. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.AbstractCollectionTester; import com.google.common.collect.testing.features.CollectionFeature; 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.) *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
assertSame( Funnels.byteArrayFunnel(), SerializableTester.reserialize(Funnels.byteArrayFunnel())); assertSame(Funnels.integerFunnel(), SerializableTester.reserialize(Funnels.integerFunnel())); assertSame(Funnels.longFunnel(), SerializableTester.reserialize(Funnels.longFunnel())); assertSame( Funnels.unencodedCharsFunnel(), SerializableTester.reserialize(Funnels.unencodedCharsFunnel())); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
import com.google.common.collect.testing.testers.SetEqualsTester; import com.google.common.collect.testing.testers.SetHashCodeTester; import com.google.common.collect.testing.testers.SetRemoveTester; import com.google.common.testing.SerializableTester; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestSuite; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtIncompatible; import com.google.common.testing.SerializableTester; import java.util.NavigableMap; import java.util.SortedMap; @GwtIncompatible // SerializableTester public class ReserializedSafeTreeMapMapInterfaceTest extends SortedMapInterfaceTest<String, Integer> { public ReserializedSafeTreeMapMapInterfaceTest() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link SerializableTester}. * * @author Nick Kralevich */ @NullUnmarked public class SerializableTesterTest extends TestCase { public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertEquals(original, copy); assertNotSame(original, copy);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
assertEquals(2, multiset.count("foo")); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerializationContainingSelf() { Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
} public void testSerialization() { SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host")); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80")); SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104")); SerializableTester.reserializeAndAssert(HostAndPort.fromParts("1::2", 103)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
} public void testSerialization() { SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host")); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host:80")); SerializableTester.reserializeAndAssert(HostAndPort.fromString("[::1]:104")); SerializableTester.reserializeAndAssert(HostAndPort.fromParts("1::2", 103)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.8K bytes - Viewed (0)