Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCallAsCallable (0.05 sec)

  1. src/test/java/jcifs/SmbWatchHandleTest.java

            assertEquals(3, result.size());
            verify(watchHandle, times(1)).call();
        }
    
        /**
         * Test call() method as Callable in executor service
         */
        @Test
        void testCallAsCallable() throws Exception {
            // Create a real implementation for testing Callable behavior
            SmbWatchHandle realHandle = new SmbWatchHandle() {
                private int callCount = 0;
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top