- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 184 for SHOULD (0.03 seconds)
-
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
assertTrue(target instanceof MonitorTarget, "Instance should be a MonitorTarget"); assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget"); } @Test public void test_expired_method_exists() throws Exception { assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
Set<RequestData> result = crawlerThread.getAnchorSet(urls); assertNotNull(result, "getAnchorSet should handle duplicates"); // Since it returns a Set, duplicates should be handled by URL comparison // The exact behavior depends on RequestData.equals() implementation assertTrue("Should have at most 5 items", result.size() <= 5); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
assertNotNull(FessWebResourceRoot.class, "FessWebResourceRoot class should exist"); } @Test public void test_inheritance() { // Verify that FessWebResourceRoot extends StandardRoot assertTrue("FessWebResourceRoot should extend StandardRoot", StandardRoot.class.isAssignableFrom(FessWebResourceRoot.class)); assertTrue("FessWebResourceRoot should implement WebResourceRoot",
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StatsTests.java
// Verify JSON structure assertNotNull(response, "Response should not be null"); assertTrue(response.contains("response"), "Response should contain 'response' field"); assertTrue(response.contains("status"), "Response should contain 'status' field"); assertTrue(response.contains("version"), "Response should contain 'version' field"); // Verify response can be parsed as JSONCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
.offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "should remain", null)); // expired() should skip when disabled logNotificationTarget.expired(); // Buffer should still contain the event since disabled check should return early List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
assertNotNull(toString); assertTrue("toString should contain TimeZone ID", toString.contains(FessUserTimeZoneProcessProvider.centralTimeZone.getID())); // The provider's toString might not contain the exact class name // Just verify it's not null and contains some meaningful info assertTrue("toString should not be empty", toString.length() > 0); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertNotNull(mappingOption, "Mapping option should not be null"); OptionalThing<JsonFieldNaming> fieldNamingOpt = mappingOption.getFieldNaming(); assertTrue("Field naming should be present", fieldNamingOpt.isPresent()); assertEquals("Field naming should be CAMEL_TO_LOWER_SNAKE", JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get()); } @Test public void test_instanceCreation() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
} } @Test public void test_classStructure() { // Verify the class is generic final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters(); assertEquals("Should have one type parameter", 1, typeParameters.length);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// First invocation curtainFinallyHook.hook(assistantDirector); // Second invocation - should also work without issues curtainFinallyHook.hook(assistantDirector); // Third invocation curtainFinallyHook.hook(assistantDirector); // All invocations should complete successfully assertTrue(true); } // Test with null assistant director (edge case)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java
* and whether the crawling process should be aborted. */ public class DataStoreCrawlingException extends CrawlingAccessException { private static final long serialVersionUID = 1L; /** * The URL where the crawling error occurred. */ private final String url; /** * Flag indicating whether the crawling process should be aborted. */ private final boolean abort;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2.7K bytes - Click Count (0)