- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 6,187 for new (0.02 seconds)
-
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
List<LogNotificationEvent> events = new ArrayList<>(); events.add(new LogNotificationEvent(base, "ERROR", "org.test.A", "first", null)); events.add(new LogNotificationEvent(base + 1000, "WARN", "org.test.B", "second", null)); events.add(new LogNotificationEvent(base + 2000, "ERROR", "org.test.C", "third", null)); String details = testableJob.testFormatDetails(events);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class); new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class); new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1)); } /** constructor creates array of given size with all elements zero */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
Exception innerException = new IllegalArgumentException("Invalid argument"); Error middleError = new AssertionError("Assertion failed", innerException); RuntimeException outerException = new RuntimeException("Outer error", middleError); ThumbnailGenerationException exception = new ThumbnailGenerationException(message, outerException);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
} }; callback.store(new DataStoreParams(), new HashMap<>()); assertEquals(1L, callback.getDocumentSize()); } @Test public void test_commit_behavior() { // Test commit behavior with state tracking final AtomicInteger commitCount = new AtomicInteger(0); final AtomicLong documentsBeforeCommit = new AtomicLong(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertNull(user.getName()); // Test with special characters in name user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {}); assertEquals("******@****.***", user.getName()); // Test with Unicode characters user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
throw new RuntimeException("Crawling error"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) { throw new RuntimeException("Search error"); } }; JobLogService jobLogService = new JobLogService() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
// Test with different types of causes DataStoreException withIOException = new DataStoreException("IO Error", new java.io.IOException("File not found")); DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value")); DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
SuggestItem[] items = new SuggestItem[3]; for (int i = 0; i < 3; i++) { String[][] readings = new String[1][]; readings[0] = new String[] { "test" + i }; items[i] = new SuggestItem(new String[] { "テスト" + i }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 28.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] buffer = new byte[1000]; int numThreads = 10; Thread[] threads = new Thread[numThreads]; // When - multiple threads calling methods simultaneously for (int i = 0; i < numThreads; i++) { final int threadIndex = i; threads[i] = new Thread(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0)