Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 615 for verifyCn (0.03 sec)

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

            assertFalse(iterator.hasNext(), "Should not have more elements");
    
            // Then
            verify(mockDelegate, times(3)).next();
            verify(mockFilter).accept(mockResource1);
            verify(mockFilter).accept(mockResource2);
            verify(mockFilter).accept(mockResource3);
        }
    
        /**
         * Test that adapt method is actually used by the iterator.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                }
            };
    
            File tempFile = ResponseDataUtil.createResponseBodyFile(responseData);
    
            assertNotNull(tempFile);
            assertTrue(tempFile.exists());
    
            // Read and verify content
            try (FileInputStream fis = new FileInputStream(tempFile)) {
                byte[] buffer = new byte[1024];
                int bytesRead = fis.read(buffer);
                String content = new String(buffer, 0, bytesRead);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(24, encoded);
    
                // Verify offset (8 bytes)
                assertEquals(offset, SMBUtil.readInt8(buffer, 0));
    
                // Verify length (8 bytes)
                assertEquals(length, SMBUtil.readInt8(buffer, 8));
    
                // Verify flags (4 bytes)
                assertEquals(flags, SMBUtil.readInt4(buffer, 16));
    
                // Verify reserved field is zeros (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            NdrSmall ndrSmall = new NdrSmall(0);
    
            // Call the decode method
            ndrSmall.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_small was called
            verify(mockNdrBuffer, times(1)).dec_ndr_small();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                int bytesWritten = req.writeBytesWireFormat(buffer, 0);
    
                // Verify structure
                assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count
    
                // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index)
                int lockSequence = SMBUtil.readInt4(buffer, 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Resolve first two entries
            cache.resolveSids(ctx, null, arr, 0, 2);
    
            // Verify resolveSids0 called exactly once with the two SIDs needing resolution
            ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class);
            verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture());
            SID[] resolvedFirst = captor.getValue();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Create buffer for encoding
            byte[] buffer = new byte[16];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify encoded value
            long decodedValue = SMBUtil.readInt8(buffer, 0);
            assertEquals(endOfFile, decodedValue);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

                }
            });
    
            otherThread.start();
            latch.await();
    
            // Verify other thread had different values
            assertEquals("other-thread", otherThreadUrlQueueSessionId.get());
            assertEquals("other-context", otherThreadContextSessionId.get());
    
            // Verify main thread values are unchanged
            assertEquals("main-thread", CrawlingParameterUtil.getUrlQueue().getSessionId());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. MIGRATION.md

       - Convert URL patterns to Fess regex patterns
       - Set up LabelType (access control labels) if defined
    
    **Step 3: Verify Imported Configurations**
    
    After import, verify:
    - **Crawler > Web**: Check web crawling configurations
    - **Crawler > File**: Check file crawling configurations (SMB, FTP)
    - **System > General**: Verify URL patterns and filters
    
    **GSA Configuration Mapping**
    
    | GSA Setting | Fess Equivalent |
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top