- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for testSetUid (0.26 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
response.readBytesWireFormat(buffer, 0); assertFalse(response.isShareDfs()); } @Test @DisplayName("Should return correct TID from TreeConnectResponse interface") void testGetTid() throws Exception { // Given - set tree ID using reflection Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class); setTreeIdMethod.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
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)