- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 66 for testSerialization (0.21 sec)
-
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),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(0, map.size()); assertTrue(map.isEmpty()); assertFalse(map.remove("a", 1L)); assertFalse(map.remove("a", 0L)); assertFalse(map.replace("a", 1L, 0L)); } public void testSerialization() { AtomicLongMap<String> map = AtomicLongMap.create(); map.put("key", 1L); AtomicLongMap<String> reserialized = SerializableTester.reserialize(map); assertEquals(map.asMap(), reserialized.asMap());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertActuallyTrims(underSized); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization() { assertThat(reserialize(ImmutableLongArray.of())).isSameInstanceAs(ImmutableLongArray.of()); assertThat(reserialize(ImmutableLongArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableLongArray.of());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertActuallyTrims(underSized); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization() { assertThat(reserialize(ImmutableDoubleArray.of())).isSameInstanceAs(ImmutableDoubleArray.of()); assertThat(reserialize(ImmutableDoubleArray.of(0, 1).subArray(1, 1)))
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); } @GwtIncompatible // SerializableTester public void testSerialization() { ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers()); assertTrue(empty instanceof EmptyContiguousSet); reserializeAndAssert(empty);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers())); } @GwtIncompatible // SerializableTester public void testSerialization() { ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers()); assertTrue(empty instanceof EmptyContiguousSet); reserializeAndAssert(empty);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertThat(table.row("foo").keySet()).containsExactly(12, 3).inOrder(); assertEquals(original, table); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); SerializableTester.reserializeAndAssert(table); } public void testToString_ordered() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
ImmutableIntArray underSized = ImmutableIntArray.builder(2).add(0).add(1).add(3).build(); assertActuallyTrims(underSized); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization() { assertThat(reserialize(ImmutableIntArray.of())).isSameInstanceAs(ImmutableIntArray.of()); assertThat(reserialize(ImmutableIntArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableIntArray.of());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
ImmutableIntArray underSized = ImmutableIntArray.builder(2).add(0).add(1).add(3).build(); assertActuallyTrims(underSized); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization() { assertThat(reserialize(ImmutableIntArray.of())).isSameInstanceAs(ImmutableIntArray.of()); assertThat(reserialize(ImmutableIntArray.of(0, 1).subArray(1, 1))) .isSameInstanceAs(ImmutableIntArray.of());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(0, map.size()); assertTrue(map.isEmpty()); assertFalse(map.remove("a", 1L)); assertFalse(map.remove("a", 0L)); assertFalse(map.replace("a", 1L, 0L)); } public void testSerialization() { AtomicLongMap<String> map = AtomicLongMap.create(); map.put("key", 1L); AtomicLongMap<String> reserialized = SerializableTester.reserialize(map); assertEquals(map.asMap(), reserialized.asMap());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 17.4K bytes - Viewed (0)