Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for WORLD (0.02 seconds)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals("hello", DocumentUtil.encodeUrl("hello"));
            assertEquals("hello-world", DocumentUtil.encodeUrl("hello-world"));
            assertEquals("hello_world", DocumentUtil.encodeUrl("hello_world"));
            assertEquals("hello.world", DocumentUtil.encodeUrl("hello.world"));
        }
    
        @Test
        public void test_encodeUrl_empty_and_null() {
    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)
  2. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

            assertNull(response.getModel());
        }
    
        @Test
        public void test_constructorWithContent() {
            final LlmChatResponse response = new LlmChatResponse("Hello, World!");
            assertEquals("Hello, World!", response.getContent());
            assertNull(response.getFinishReason());
            assertNull(response.getPromptTokens());
            assertNull(response.getCompletionTokens());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertEquals("", chatClient.testEscapeQueryValue(""));
        }
    
        @Test
        public void test_escapeQueryValue_noSpecialChars() {
            assertEquals("hello world", chatClient.testEscapeQueryValue("hello world"));
        }
    
        @Test
        public void test_escapeQueryValue_backslash() {
            assertEquals("path\\\\to\\\\file", chatClient.testEscapeQueryValue("path\\to\\file"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            String testValue = "HELLO WORLD";
            OptionalEntity<String> result = OptionalUtil.ofNullable(testValue);
    
            assertTrue(result.isPresent());
    
            // Test that we can chain operations
            String processed = result.map(s -> s.toLowerCase()).orElse("default");
    
            assertEquals("hello world", processed);
    
            // Test with null value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            BooleanFunction<String> startsWithHello = s -> s != null && s.startsWith("hello");
    
            assertTrue(startsWithHello.apply("hello world"));
            assertTrue(startsWithHello.apply("hello"));
            assertFalse(startsWithHello.apply("hi world"));
            assertFalse(startsWithHello.apply(""));
            assertFalse(startsWithHello.apply(null));
        }
    
        @Test
        public void test_method_reference() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            assertNotNull(message.getSources());
        }
    
        @Test
        public void test_userMessage() {
            final ChatMessage message = ChatMessage.userMessage("Hello, World!");
            assertEquals(ChatMessage.ROLE_USER, message.getRole());
            assertEquals("Hello, World!", message.getContent());
            assertTrue(message.isUser());
            assertFalse(message.isAssistant());
        }
    
        @Test
        public void test_assistantMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return null;
                }
            });
    
            mimeTypeHelper.init();
    
            // Null config means no override
            try (InputStream is = new ByteArrayInputStream("Hello world".getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/plain", mimeTypeHelper.getContentType(is, "test.txt"));
            }
        }
    
        @Test
        public void test_init_singleMapping() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

            assertEquals("", markdownRenderer.render(""));
        }
    
        @Test
        public void test_render_plainText() {
            String result = markdownRenderer.render("Hello World");
            assertTrue(result.contains("Hello World"));
            assertTrue(result.contains("<p>"));
        }
    
        @Test
        public void test_render_bold() {
            String result = markdownRenderer.render("**bold text**");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            String template = "Hello ${name}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
        @Test
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/main/assemblies/files/fess.in.bat

    set FESS_MAX_MEM=1g
    )
    
    if NOT "%FESS_HEAP_SIZE%" == "" (
    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    set FESS_MAX_MEM=%FESS_HEAP_SIZE%
    )
    
    REM min and max heap sizes should be set to the same value to avoid
    REM stop-the-world GC pauses during resize, and so that we can lock the
    REM heap in memory on startup to prevent any of it from being swapped
    REM out.
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 03:48:59 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top