Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testShutdown (0.12 sec)

  1. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

                assertTrue(e.getCause().getMessage().contains("Failed to create multi-channel transport"));
            }
        }
    
        @Test
        @DisplayName("MultiChannelManager should shutdown cleanly")
        void testShutdown() {
            assertDoesNotThrow(() -> {
                multiChannelManager.shutdown();
            });
        }
    
        @Test
        @DisplayName("createDefaultContext should work")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

        }
    
        @Test
        public void testGetMaxMessageSize() {
            assertEquals(65536, provider.getMaxMessageSize(), "TCP provider should have 64KB limit");
        }
    
        @Test
        public void testShutdown() {
            // Should not throw exception
            assertDoesNotThrow(() -> provider.shutdown());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            verify(mockChannelManager, atLeast(1)).removeChannel(failedChannel);
            verify(mockChannelManager, atLeast(1)).establishReplacementChannel();
        }
    
        @Test
        void testShutdown() {
            failover.shutdown();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> failover.shutdown());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            // Remove should not throw exception even if channel doesn't exist
            assertDoesNotThrow(() -> channelManager.removeChannel(channel));
        }
    
        @Test
        void testShutdown() {
            assertDoesNotThrow(() -> channelManager.shutdown());
    
            // Multiple shutdowns should be safe
            assertDoesNotThrow(() -> channelManager.shutdown());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify base lease manager was called
            verify(baseLeaseManager).releaseLease(leaseKey);
        }
    
        @Test
        public void testShutdown() {
            String directoryPath = "/test/dir";
            Smb2LeaseKey leaseKey = new Smb2LeaseKey();
    
            // Create cache entry
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            // Verify only second listener is called
            jobExecutor.shutdown();
            assertEquals(10, callCount.get());
        }
    
        public void test_shutdown() {
            // Test shutdown with listener
            AtomicBoolean shutdownCalled = new AtomicBoolean(false);
            jobExecutor.addShutdownListener(new ShutdownListener() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top