- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,335 for news (0.07 sec)
-
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
super.setUp(); pingSearchEngineJob = new PingSearchEngineJob(); } // Test normal operation with GREEN status and state change public void test_execute_greenStatusNoChange() { // Setup mock components SearchEngineClient searchEngineClient = new SearchEngineClient() { @Override public PingResponse ping() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
FsctlPipeWaitRequest request1 = new FsctlPipeWaitRequest(pipeName); byte[] buffer1 = new byte[200]; int encoded1 = request1.encode(buffer1, 0); assertEquals(request1.size(), encoded1); // Test with timeout FsctlPipeWaitRequest request2 = new FsctlPipeWaitRequest(pipeName, 5000L); byte[] buffer2 = new byte[200]; int encoded2 = request2.encode(buffer2, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
// Create and encode FileEndOfFileInformation original = new FileEndOfFileInformation(testValue); byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode into new instance FileEndOfFileInformation decoded = new FileEndOfFileInformation();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
static Stream<Arguments> hexCases() { return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"), Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"), Arguments.of(new byte[] { (byte) 0xAB }, "ab"), Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt"); int dstIndex = 2; // When int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex); // Then assertEquals(2, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Test with all zeros byte[] zeroFileId = new byte[16]; Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalArgumentException("Cause exception"); FessSystemException exception = new FessSystemException(cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } request.setFileId(fileId); // Verify by writing to buffer and checking the fileId position byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
} // Test execute with exception in booster public void test_execute_withException() { TestScoreBooster booster1 = new TestScoreBooster(100L); ExceptionScoreBooster booster2 = new ExceptionScoreBooster(); TestScoreBooster booster3 = new TestScoreBooster(300L); scoreUpdater.addScoreBooster(booster1); scoreUpdater.addScoreBooster(booster2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException original = new DictionaryExpiredException(); // Serialize ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(original); oos.close(); // Deserialize ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0)