Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateNewFile (0.17 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
            log.info("Basic connectivity test passed - can connect, list, and read files");
        }
    
        @Test
        void testCreateNewFile() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/newfile.txt", context);
    
            assertFalse(file.exists(), "File should not exist initially");
    
            file.createNewFile();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top