Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testGetTransportPool (0.27 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertEquals(mockBufferCache, cifsContextWrapper.getBufferCache());
            verify(mockDelegate).getBufferCache();
        }
    
        @Test
        void testGetTransportPool() {
            // Test getTransportPool() method
            SmbTransportPool mockSmbTransportPool = mock(SmbTransportPool.class);
            when(mockDelegate.getTransportPool()).thenReturn(mockSmbTransportPool);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(mockCache, cache);
            verify(mockContext).getBufferCache();
        }
    
        @Test
        @DisplayName("Should get SmbTransportPool")
        void testGetTransportPool() {
            // Given
            SmbTransportPool mockPool = mock(SmbTransportPool.class);
            when(mockContext.getTransportPool()).thenReturn(mockPool);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/BaseContextTest.java

                assertNotNull(pipe, "Should create pipe resource for type: " + pipeType);
            }
        }
    
        @Test
        @DisplayName("getTransportPool should return initialized transport pool")
        void testGetTransportPool() {
            // When
            SmbTransportPool transportPool = context.getTransportPool();
    
            // Then
            assertNotNull(transportPool, "Transport pool should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top