- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testSerialize (0.1 sec)
-
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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0)