Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUrlToFile (0.14 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top