- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 324 for Correct (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java
} finally { // Clean up tempFile.delete(); } } public void test_createResponseBodyFile_tempFilePrefix() throws Exception { // Test that temp file has correct prefix ResponseData responseData = new ResponseData() { @Override public InputStream getResponseBody() { return new ByteArrayInputStream("Test".getBytes()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
throw new CrawlingAccessException("Failed to parse file ownership attributes: file=" + file.getAbsolutePath(), e); } } /** * Preprocesses a URI to ensure it's in the correct format for file system access. * * @param uri the URI to preprocess * @return the preprocessed URI * @throws CrawlerSystemException if the URI is empty */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
assertNotNull(cacheEntry); assertTrue(cacheEntry.isComplete()); assertEquals(2, cacheEntry.getChildren().size()); // Verify the cached files have correct names List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren(); assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(SMB_COM_WRITE, write.command, "Command should be SMB_COM_WRITE"); } /** * Test writeParameterWordsWireFormat writes correct bytes */ @Test public void testWriteParameterWordsWireFormat() { // Arrange SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* * the access check would fail because the direct ACE has an access mask * of <code>0x001200A9</code> which doesn't have the * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Act SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid); // Assert assertNotNull(handle); // Verify sendrecv was called once with the correct RPC message verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture()); MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue(); assertNotNull(capturedRpc);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
} public void test_temp_file_creation() { // Test that temp file uses correct prefix "GcsClient" not "StorageClient" GcsClient client = new GcsClient() { @Override protected java.io.File createTempFile(String prefix, String suffix, java.io.File directory) { // Verify the prefix is correctRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertTrue(exception.getMessage().contains("Data exceeds buffer size")); } @Test @DisplayName("Should write data at correct offset in buffer") void testDataOffsetCalculation() { byte[] data = new byte[50]; Arrays.fill(data, (byte) 0xAB); request.setData(data, 0, data.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
preauthService.updatePreauthHash(sessionId, "Message2".getBytes()); byte[] expectedHash = preauthService.getCurrentPreauthHash(sessionId); // Validation should pass with correct hash assertTrue(preauthService.validatePreauthIntegrity(sessionId, expectedHash)); // Validation should fail with incorrect hash byte[] incorrectHash = new byte[expectedHash.length];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0)