- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,139 for new1 (0.02 seconds)
-
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/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) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
@Test public void test_matches_basicTag() { PrunedTag tag = new PrunedTag("div"); MockNode divNode = new MockNode("div"); assertTrue(tag.matches(divNode)); MockNode spanNode = new MockNode("span"); assertFalse(tag.matches(spanNode)); // Case insensitive test MockNode divUpperNode = new MockNode("DIV"); assertTrue(tag.matches(divUpperNode)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K 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/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/util/DocumentUtilTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
super.setUp(testInfo); suggestHelper = new SuggestHelper(); setupMockComponents(); } private void setupMockComponents() { ComponentUtil.setFessConfig(new MockFessConfig()); ComponentUtil.register(new MockSearchEngineClient(), "searchEngineClient"); ComponentUtil.register(new MockSearchLogBhv(), "searchLogBhv"); ComponentUtil.register(new MockElevateWordBhv(), "elevateWordBhv");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
@Test public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter"); RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause); LdapOperationException exception = new LdapOperationException("LDAP operation failed", middleCause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K 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/util/MemoryUtilTest.java
assertEquals(0L, MemoryUtil.sizeOf(new String[] { null, null })); // Mixed content array assertEquals(84L, MemoryUtil.sizeOf(new Object[] { "test", 123, null })); // Nested arrays assertEquals(120L, MemoryUtil.sizeOf(new Object[] { new String[] { "test" }, new String[] { "test" } })); } @Test public void test_sizeOf_collectionVariations() { // Empty collection
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0)