- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testReserialize (0.14 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionSerializationTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SERIALIZABLE) public void testReserialize() { // For a bare Collection, the most we can guarantee is that the elements are preserved. assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents())); }
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
* Accordingly, our testing framework adds it only when testing an implementation of List, Set, or * Multiset. */ @SuppressWarnings("UndefinedEquals") public void testReserialize() { assertEquals(SerializableTester.reserialize(actualContents()), actualContents()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
import junit.framework.TestCase; /** * @author higa * */ public class SerializeUtilTest extends TestCase { /** * @throws Exception */ public void testSerialize() throws Exception { final String[] a = new String[] { "1", "2" }; final String[] b = (String[]) SerializeUtil.serialize(a); assertEquals("1", b.length, a.length); assertEquals("2", "1", b[0]);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.get(1), is("2")); assertThat(list.get(2), is("3")); } /** * @throws Exception */ @Test public void testSerialize() throws Exception { list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(SerializeUtil.serialize(list), is(notNullValue())); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
ArrayMap<String, String> m = new ArrayMap<String, String>(1); m.getEntryAt(1); } /** * @throws Exception */ @Test public void testSerialize() throws Exception { @SuppressWarnings("unchecked") ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map); assertThat(copy.getAt(0), is(nullValue()));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0)