Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testByteArrayConstructor (0.1 seconds)

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

            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
            SID sid = new SID(adminSidBytes, 0);
            assertEquals(1, sid.revision);
            assertEquals(2, sid.sub_authority_count);
            assertEquals(5, sid.identifier_authority[5]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top