Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for testGetSid (0.5 sec)

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

            assertEquals(SID.SID_TYPE_DOMAIN, domainSid.getType());
        }
    
        /**
         * Test getting the RID.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testGetRid() throws SmbException {
            // Create a mock RPC SID to simulate a user SID
            rpc.sid_t rpcSid = new rpc.sid_t();
            rpcSid.revision = 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setExtendedSecurity(false);
                // Method is empty, just ensure no exception
            }
    
            @Test
            @DisplayName("Should ignore UID setting")
            void testSetUid() {
                testMessage.setUid(123);
                // Method is empty, just ensure no exception
            }
        }
    
        @Nested
        @DisplayName("Equals and HashCode Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top