Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testBinaryConstructorInvalidCount (0.2 seconds)

  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
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top