Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testZeroByteFile (0.06 seconds)

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

                assertEquals(10, bytesRead, "Should read next chunk");
                assertEquals("ABCDEFGHIJ", new String(buffer, 0, bytesRead, "UTF-8"));
            }
        }
    
        @Test
        void testZeroByteFile() throws Exception {
            // Test handling of zero-byte files
            long timestamp = System.currentTimeMillis();
            SmbFile file = new SmbFile(baseUrl + "shared/zerobyte_" + timestamp + ".txt", context);
    
    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