Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSizeWithEmptyPath (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(expectedSize, request.size());
        }
    
        @Test
        @DisplayName("Test size calculation with empty path")
        void testSizeWithEmptyPath() {
            request = new Smb2CreateRequest(mockConfig, "");
    
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            expectedSize += 8; // size8(1) - empty name gets 1 byte
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top