- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 189 for get_config (0.05 sec)
-
src/main/config/es/fess_config_web_config.json
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
log.debug("Ignoring invalid initial token", e1); } return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning))); } private static SSPContext setupTargetName(CIFSContext tc, String host, NtlmContext ntlmContext) { if (host != null && tc.getConfig().isSendNTLMTargetName()) { ntlmContext.setTargetName(String.format("cifs/%s", host)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir"); when(mockLocator.getShare()).thenReturn("share"); // Mock tree handle's getConfig() to return our mock config when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testMkdir() throws SmbException, CIFSException { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
*/ @Override public boolean allowChain(final CommonServerMessageBlockRequest next) { return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel() */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
@Mock private Configuration mockConfig; /** * Test for getConfig() method. * Verifies that the method returns the expected Configuration object. */ @Test void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
assertEquals(-1L, trace.getTreeId()); } @Test @DisplayName("getConfig(): delegates to context") void getConfig_delegatesToContext() { // Arrange CIFSContext ctx = mock(CIFSContext.class); Configuration cfg = mock(Configuration.class); when(ctx.getConfig()).thenReturn(cfg); SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
lenient().when(tree.isConnected()).thenReturn(true); // CIFS context returns same config to build responses during initResponse lenient().when(cifsContext.getConfig()).thenReturn(config); } @AfterEach void teardown() { // No global state to reset beyond mocks } static Stream<String> wildcardProvider() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} if (this.useNTSmbs) { this.reqx = new SmbComWriteAndX(th.getConfig()); this.rspx = new SmbComWriteAndXResponse(th.getConfig()); } else { this.req = new SmbComWrite(th.getConfig()); this.rsp = new SmbComWriteResponse(th.getConfig()); } } /** * Ensures that the file descriptor is openend *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
// Given Configuration mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); // When Configuration config = mockContext.getConfig(); // Then assertEquals(mockConfig, config); verify(mockContext).getConfig(); } @Test @DisplayName("Should get NameServiceClient")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} static SmbTreeConnection create(final CIFSContext c) { if (c.getConfig().isTraceResourceUsage()) { return new SmbTreeConnectionTrace(c); } return new SmbTreeConnection(c); } static SmbTreeConnection create(final SmbTreeConnection c) { if (c.ctx.getConfig().isTraceResourceUsage()) { return new SmbTreeConnectionTrace(c); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1)