Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testFileWriteAndRead (0.22 seconds)

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

            assertFalse(file.isDirectory(), "Should not be identified as a directory");
            assertEquals(0, file.length(), "New file should have zero length");
        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
            String testContent = "Hello, SMB World!\nThis is a test file.";
    
            // Write content to file
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top