- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for testGetMid (0.04 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
ace.access = 0x001200A9; assertEquals(0x001200A9, ace.getAccessMask()); } @Test @DisplayName("Test getSID returns correct SID") void testGetSID() throws SmbException { assertNull(ace.getSID()); SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000"); ace.sid = testSid; assertSame(testSid, ace.getSID());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0)