Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readScopeWireFormat_withNullScope_shouldReturnOne (0.43 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(0x00, dst[length - 1]);
    
            // Length should be scope length + 2
            assertEquals(name.scope.length() + 2, length);
        }
    
        @Test
        void readScopeWireFormat_withNullScope_shouldReturnOne() {
            byte[] src = new byte[10];
            src[0] = 0x00;
    
            Name name = new Name(mockConfig);
            int length = name.readScopeWireFormat(src, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top