Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for watch_smb2_success_returnsList_andClosesTree (0.68 sec)

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

        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
        @DisplayName("watch() SMB2 happy path returns notifications and closes tree")
        void watch_smb2_success_returnsList_andClosesTree() throws Exception {
            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top