Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isUseMultiChannel (0.07 sec)

  1. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertFalse(config.isUseMultiChannel());
    
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
        }
    
        @Test
        void testMaxChannelsProperty() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            assertNotNull(channelManager);
            assertFalse(channelManager.isUseMultiChannel());
            assertEquals(0, channelManager.getChannels().size());
            assertNotNull(channelManager.getLoadBalancer());
        }
    
        @Test
        void testInitializationWithoutMultiChannelSupport() throws IOException {
            when(mockConfig.isUseMultiChannel()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Test that ChannelManager initializes properly
            assertNotNull(channelManager);
            assertNotNull(channelManager.getChannels());
            // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server
            // In mock environment, this will be false until we mock successful negotiation
    
            // Verify load balancer is initialized
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top