- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 108 for Gettid (0.03 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setMid and getMid methods") void testSetAndGetMid() { // Given long expectedMid = 12345L; doNothing().when(messageBlock).setMid(expectedMid); when(messageBlock.getMid()).thenReturn(expectedMid); // When messageBlock.setMid(expectedMid); long actualMid = messageBlock.getMid(); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java
* @return whether to allow chaining */ boolean allowChain(CommonServerMessageBlockRequest next); /** * Sets the tree ID. * * @param t the tree ID to set */ void setTid(int t); /** * Gets the custom response timeout for this request. * * @return custom response timeout for this request */ Integer getOverrideTimeout();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
} @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()); } @Test @DisplayName("Test decode with offset")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/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should return dataCount assertEquals(5, result); } @Test void testGetSid() { // Test the getSid method // By default, it should be 0 assertEquals(0, response.getSid()); } @Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@Test @DisplayName("Should define getSID method returning SID") void shouldDefineMethods() { ACE ace = mock(ACE.class); SID mockSid = mock(SID.class); when(ace.getSID()).thenReturn(mockSid); SID result = ace.getSID(); assertSame(mockSid, result); verify(ace).getSID(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
} private static final SID USER_SID = new SID() { @Override public SID getDomainSid() { return null; } @Override public int getRid() { return 0; } @Override public String toDisplayString() { return getDomainName() + "\\" + getAccountName(); } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
when(mockConfig.getPid()).thenReturn(1234); // When smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig); // Then assertNotNull(smbComTreeDisconnect); assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand()); verify(mockConfig).getPid(); // Verify getPid was called } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("getRid throws for domain SIDs") void testGetRidForDomainThrows() { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "DOM", null, false); IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, domain::getRid);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response // Fill buffer at position for (int i = 0; i < 37; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is used - getPid() is called in parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0)