Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testToJarFilePath (0.14 sec)

  1. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author koichik
     */
    public class ZipFileUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() {
                @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

    import java.net.URL;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     */
    public class JarFileUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top