Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testToList (0.06 seconds)

  1. 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)));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. 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());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
Back to Top