Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 207 for SHOULD (0.04 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            Boolean result = invokeIsValidVirtualHostPath("");
            assertTrue("Empty path should be valid (default host)", result);
        }
    
        @Test
        public void test_isValidVirtualHostPath_nullPath() throws Exception {
            setupVirtualHostHelper();
    
            Boolean result = invokeIsValidVirtualHostPath(null);
            assertTrue("Null path should be valid (default host)", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. 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)
  6. 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 index
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            }
        }
    
        @Test
        public void test_labelTypePattern_match() {
            LabelTypePattern pattern = new LabelTypePattern("test", "/test.*", "/exclude.*");
    
            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                themeHelper.getJarFile(artifact);
                fail("Should throw ThemeException");
            } catch (Exception e) {
                // Should throw ThemeException or other exception related to file not found
                assertTrue(e.getMessage().contains("does not exist") || e instanceof ThemeException);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // 2. Should have exactly one private constructor
            Constructor<?>[] constructors = WebApiUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 3. All public methods should be static
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top