- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 169 for SHOULD (0.03 seconds)
-
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
assertEquals("message should be default", "{org.lastaflute.validator.constraints.UriType.message}", annotation.message()); assertEquals("groups should be empty", 0, annotation.groups().length); assertEquals("payload should be empty", 0, annotation.payload().length); } // Test annotation on field with FILE protocol @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertNotNull(annotation, "Annotation should be present on field"); assertEquals("Default message should match", "{jakarta.validation.constraints.Size.message}", getDefaultMessage()); assertEquals("Default groups should be empty", 0, getDefaultGroups().length); assertEquals("Default payload should be empty", 0, getDefaultPayload().length); assertEquals("Default minKey should be empty", StringUtil.EMPTY, getDefaultMinKey());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
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/util/ThreadDumpUtilTest.java
assertFalse("Should capture some thread dump output", capturedOutput.isEmpty()); // Verify format - should contain "Thread:" entries boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:")); assertTrue("Should contain Thread: entries", hasThreadEntry); // Verify format - should contain stack trace entries
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertNotNull(ComponentUtil.getComponent("crawlingConfigHelper"), "CrawlingConfigHelper should be registered"); assertNotNull(ComponentUtil.getSystemHelper(), "SystemHelper should be registered"); assertNotNull(ComponentUtil.getFessConfig(), "FessConfig should be set"); assertTrue("Component integration test should be fast", true); } @Test public void test_basic_functionality() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
assertTrue(result); // Should have created 4 indices (config x2, user x1, log x1) assertEquals(4, testClient.createdIndices.size()); // Should have called addMapping for each created index assertEquals(4, testClient.addMappingCalls.size()); // Should have called createAlias for each created indexCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
scriptEngineFactory.add("name2", engine2); // Both engines have same class name, so second should replace first for class name lookup ScriptEngine retrievedByClass = scriptEngineFactory.getScriptEngine("testscriptengine"); assertEquals(engine2, retrievedByClass); // But original names should still work assertEquals(engine1, scriptEngineFactory.getScriptEngine("name1"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.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/dict/protwords/ProtwordsItemTest.java
// Test hashCode with null input - should not throw, returns consistent hash for null ProtwordsItem item1 = new ProtwordsItem(1, null); ProtwordsItem item2 = new ProtwordsItem(2, null); // Should not throw int hash1 = item1.hashCode(); int hash2 = item2.hashCode(); // Same null input should produce same hashCode assertEquals(hash1, hash2);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.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)