Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testWatchOperation (0.3 seconds)

  1. src/test/java/jcifs/SmbResourceTest.java

                assertSame(mockIterator, children4, "Should return expected iterator");
            }
    
            @Test
            @DisplayName("watch operation should work correctly")
            void testWatchOperation() throws CIFSException {
                // Given
                int filter = 1; // FILE_NOTIFY_CHANGE_FILE_NAME
                when(mockResource.watch(filter, true)).thenReturn(mockWatchHandle);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
Back to Top