Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAddAll (0.03 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertArrayEquals(new Integer[] { 1, 2 }, ArrayUtil.asArray(1, 2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddAll() throws Exception {
            final String[] array = new String[] { "111" };
            final String[] newArray = ArrayUtil.add(array, "222");
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is("111"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top