- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for BaseConfiguration (0.09 sec)
-
src/main/java/jcifs/config/BaseConfiguration.java
/** * Constructs a BaseConfiguration with default settings * * @throws CIFSException if configuration initialization fails */ protected BaseConfiguration() throws CIFSException { this(false); } /** * Constructs a BaseConfiguration with optional default initialization * * @param initDefaults
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
import jcifs.DialectVersion; import jcifs.ResolverType; import jcifs.SmbConstants; /** * Test class for BaseConfiguration */ class BaseConfigurationTest { private BaseConfiguration config; @BeforeEach void setUp() throws CIFSException { config = new BaseConfiguration(false); } @Test @DisplayName("Test constructor with initDefaults true")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
/** * Test that default security settings meet minimum security requirements */ @Test public void testSecureDefaults() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled) assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] packet = new byte[header.length + body.length]; System.arraycopy(header, 0, packet, 0, header.length); System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0); assertTrue(read >= packet.length, "Decoded length should cover entire packet");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
import jcifs.SmbConstants; import jcifs.config.BaseConfiguration; /** * Tests for SMB1 transaction response handling */ public class TestSmbComTransactionResponseReader { /** * Default configuration used for Unicode support tests */ private Configuration cfg; @BeforeEach public void setup() throws Exception { this.cfg = new BaseConfiguration(true); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
private SmbComNegotiateResponse response; @BeforeEach public void setUp() { try { BaseConfiguration config = new BaseConfiguration(false); mockContext = new BaseContext(config); response = new SmbComNegotiateResponse(mockContext); } catch (Exception e) { throw new RuntimeException("Failed to set up test", e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.DisplayName; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.config.BaseConfiguration; /** * Basic tests for MultiChannelManager to verify the createChannelTransport implementation. */ public class MultiChannelManagerBasicTest { private MultiChannelManager multiChannelManager;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
} } @Test @DisplayName("Context should work with real configuration") void testWithRealConfiguration() throws CIFSException { // Given BaseConfiguration realConfig = new BaseConfiguration(true); // When BaseContext realContext = new BaseContext(realConfig); // Then assertNotNull(realContext, "Context should work with real configuration");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Delegation should work with different delegate implementations") void testWithDifferentDelegates() throws Exception { // Given BaseConfiguration baseConfig = new BaseConfiguration(false); DelegatingConfiguration configWithBaseDelegate = new DelegatingConfiguration(baseConfig); // When & Then - should not throw exceptions assertDoesNotThrow(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.config.BaseConfiguration; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.util.SMBUtil; /** * Test class for NetServerEnum2 */ class NetServerEnum2Test { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0)