Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUrlToFile (0.06 sec)

  1. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            result = copy(outputFile, "Shift_JIS", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testUrlToFile() throws Exception {
            int result = copy(url, outputFile);
            assertThat(result, is(urlString.getBytes("UTF-8").length));
    
            result = copy(outputFile, "UTF-8", writer);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top