Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fetchMore (0.11 sec)

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

            assertTrue(it.hasNext(), "Iterator should have second element");
            assertSame(fe2, it.next(), "Second element must match first page");
    
            // Next page fetched via fetchMore()
            assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");
            assertSame(fe3, it.next(), "Third element from second page");
    
            // After last element, hasNext should be false and calling close() should send Smb2CloseRequest once
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            @Override
            protected boolean isDone() {
                return this.done;
            }
    
            @Override
            protected boolean fetchMore() throws CIFSException {
                if (throwOnFetch)
                    throw new CIFSException("fetchMore fail");
                // Move to next page if available
                if (staticPages != null && pageIdx + 1 < staticPages.size()) {
                    pageIdx++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("Happy path: iterates entries, fetchMore(), then closes with FindClose2")
        void iteratesAndFetchesMoreThenCloses() throws Exception {
            // Arrange: program send() to simulate first, next, next(NO_MORE_FILES)
            List<String[]> batches = new ArrayList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top