- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToList (0.17 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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0)