- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testDoFile (0.6 sec)
-
src/test/java/jcifs/http/NetworkExplorerTest.java
verify(response).setContentType("application/octet-stream"); } /** * Test doFile method directly - simplified test */ @Test void testDoFile() throws Exception { initializeNetworkExplorer(false, "jCIFS"); // Setup mock file with minimal required behavior String content = "File content for testing";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
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)