- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToFile (0.04 sec)
-
src/test/java/org/codelibs/core/net/URLUtilTest.java
assertEquals("zip", URLUtil.toCanonicalProtocol("zip")); assertEquals("file", URLUtil.toCanonicalProtocol("file")); } /** * @throws Exception */ public void testToFile() throws Exception { final File file = new File("Program Files/hoge.txt"); final URL url = file.toURI().toURL(); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.getClassPathEntries(classloader)) .containsExactly(new File("/c:/Documents and Settings/"), classloader); } // https://github.com/google/guava/issues/2152 public void testToFile() throws Exception { assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/"))) .isEqualTo(new File("/c:/Documents and Settings/"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0)