- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 189 for get_config (0.08 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
void testConstructor() { // Given & When Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig); // Then assertNotNull(flushResponse); // Cannot test getConfig() as it's protected } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytesWireFormatTests { @Test @DisplayName("Should return 0 for write bytes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
void setUp() throws Exception { mockService = new MockWitnessService(); mockService.start(); // Setup mock configuration with lenient stubbing lenient().when(mockContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.isUseWitness()).thenReturn(true); lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
private byte[] testFileId; private Smb2Lock[] testLocks; private Smb2LockRequest request; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockContext.getConfig()).thenReturn(mockConfig); testFileId = new byte[16]; new SecureRandom().nextBytes(testFileId); testLocks = new Smb2Lock[] { new Smb2Lock(0L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK) };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/resources/esclient.xml
</postConstruct> <postConstruct name="addIndexConfig"> <arg>"fess_config.web_authentication/web_authentication"</arg> </postConstruct> <postConstruct name="addIndexConfig"> <arg>"fess_config.web_config/web_config"</arg> </postConstruct> <!-- fess_user index --> <postConstruct name="addIndexConfig"> <arg>"fess_user.user/user"</arg> </postConstruct> <postConstruct name="addIndexConfig">
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 06 13:45:02 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
} else { // Create new handle info if not found HandleInfo newInfo = new HandleInfo(path, guid, fileId, HandleType.PERSISTENT, context.getConfig().getPersistentHandleTimeout(), null); handles.put(path, newInfo); guidToHandle.put(guid, newInfo); persistHandle(newInfo);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
// Common happy-path defaults // Use lenient() to avoid strict stubbing issues with Mockito lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getConfig()).thenReturn(config); lenient().when(config.getListCount()).thenReturn(10); lenient().when(config.getListSize()).thenReturn(4096); lenient().when(parent.getLocator()).thenReturn(locator);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
CIFSContext ctx = mock(CIFSContext.class); Configuration cfg = mock(Configuration.class); when(cfg.isIgnoreCopyToException()).thenReturn(ignore); when(ctx.getConfig()).thenReturn(cfg); return ctx; } @Test @DisplayName("copyFile wraps and throws when ignoreCopyToException=false")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
*/ @Override public SmbComNTCreateAndXResponse initResponse(final CIFSContext tc) { final SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig()); setResponse(resp); return resp; } /** * Adds flags to the flags0 field. * * @param fl * the flags0 to set */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
*/ @Override protected Smb2NegotiateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2NegotiateResponse> req) { return new Smb2NegotiateResponse(tc.getConfig()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
private Address address; @Mock private Smb2NegotiateResponse negotiateResponse; private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { when(context.getConfig()).thenReturn(config); when(config.isSigningEnforced()).thenReturn(false); when(config.getSessionTimeout()).thenReturn(30_000); when(config.getResponseTimeout()).thenReturn(5_000);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)