- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToList (2.29 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
public void testToObjectArray_NoArray() throws Exception { ArrayUtil.toObjectArray("a"); } /** * @throws Exception */ @Test public void testToList() throws Exception { final Object a = new int[] { 1, 5 }; final List<Integer> list = ArrayUtil.toList(a); assertThat(list.get(0), is(Integer.valueOf(1)));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
public void testIsEmpty() { assertTrue(FluentIterable.<String>from(Collections.<String>emptyList()).isEmpty()); assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty()); } public void testToList() { assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList()); } public void testToList_empty() { assertTrue(fluent().toList().isEmpty()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0)