Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBinaryConstructorInvalidCount (0.99 sec)

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

                assertEquals("S-1-5-10-20", sid.toString());
            }
    
            @Test
            @DisplayName("Binary constructor with invalid sub_authority_count throws RuntimeCIFSException")
            void testBinaryConstructorInvalidCount() {
                // Arrange: second byte is sub_authority_count > 100
                byte[] bytes = new byte[1 + 1 + 6];
                bytes[0] = 1; // revision
                bytes[1] = (byte) 101; // invalid count
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top