- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for test_serialization (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testHashCode() { int unused = create().hashCode(); } public void testToString() { String unused = create().toString(); } public void testSerialization() { SerializableTester.reserializeAndAssert(create()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
// Garbage in, garbage out. assertEquals("[::]]:107", HostAndPort.fromParts("::]", 107).toString()); assertEquals("[[:]]:108", HostAndPort.fromString("[[:]]:108").toString()); } public void testSerialization() { SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
// Garbage in, garbage out. assertEquals("[::]]:107", HostAndPort.fromParts("::]", 107).toString()); assertEquals("[[:]]:108", HostAndPort.fromString("[[:]]:108").toString()); } public void testSerialization() { SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
assertEquals(expected, rangeMap.subRangeMap(subRange)); } } } } } public void testSerialization() { ImmutableRangeMap<Integer, Integer> emptyRangeMap = ImmutableRangeMap.of(); SerializableTester.reserializeAndAssert(emptyRangeMap); ImmutableRangeMap<Integer, Integer> nonEmptyRangeMap =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Adding null context should be safe exception.withContext(null); assertTrue(exception.getContext().isEmpty()); } @Test @DisplayName("Should be serializable") void testSerialization() throws Exception { // Given Map<String, Object> context = new HashMap<>(); context.put("key1", "value1"); context.put("key2", 123);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
int intValue = aUnsigned.bigIntegerValue().intValue(); assertThat(aUnsigned.intValue()).isEqualTo(intValue); } } @GwtIncompatible @J2ktIncompatible public void testSerialization() { for (long a : TEST_LONGS) { SerializableTester.reserializeAndAssert(UnsignedLong.fromLongBits(a)); } } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
assertEquals(expected, rangeMap.subRangeMap(subRange)); } } } } } public void testSerialization() { ImmutableRangeMap<Integer, Integer> emptyRangeMap = ImmutableRangeMap.of(); SerializableTester.reserializeAndAssert(emptyRangeMap); ImmutableRangeMap<Integer, Integer> nonEmptyRangeMap =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
int intValue = aUnsigned.bigIntegerValue().intValue(); assertThat(aUnsigned.intValue()).isEqualTo(intValue); } } @GwtIncompatible @J2ktIncompatible public void testSerialization() { for (long a : TEST_LONGS) { SerializableTester.reserializeAndAssert(UnsignedLong.fromLongBits(a)); } } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
assertEquals(14, (int) supplierFunction.apply(supplier)); } @J2ktIncompatible @GwtIncompatible // SerializationTester @SuppressWarnings("DoNotCall") public void testSerialization() { assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); assertEquals( Integer.valueOf(5),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
assertEquals(14, (int) supplierFunction.apply(supplier)); } @J2ktIncompatible @GwtIncompatible // SerializationTester @SuppressWarnings("DoNotCall") public void testSerialization() { assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); assertEquals( Integer.valueOf(5),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0)