Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for heille (0.03 seconds)

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

        }
    
        @Test
        public void test_encodeUrl_already_encoded() {
            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/script/ScriptEngineTest.java

        @Test
        public void test_evaluate_withValidTemplateAndParams() {
            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
    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)
  3. 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)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertEquals("hello world", chatClient.testEscapeQueryValue("hello world"));
        }
    
        @Test
        public void test_escapeQueryValue_backslash() {
            assertEquals("path\\\\to\\\\file", chatClient.testEscapeQueryValue("path\\to\\file"));
        }
    
        @Test
        public void test_escapeQueryValue_doubleQuote() {
            assertEquals("say \\\"hello\\\"", chatClient.testEscapeQueryValue("say \"hello\""));
    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)
  5. 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)
  6. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            // Test quote functionality through the builder behavior
            assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
            assertEquals("hello world", getQuery("hello world", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
        }
    
        @Test
        public void test_escapeQuery() {
            // Test escaping functionality through escape parameter
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        @Test
        public void test_evaluate_multipleParameterTypes() {
            final Map<String, Object> params = new HashMap<>();
            params.put("str", "hello");
            params.put("num", 42);
            params.put("bool", true);
            params.put("dbl", 3.14);
    
            assertEquals("hello", groovyEngine.evaluate("return str", params));
            assertEquals(42, groovyEngine.evaluate("return num", params));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
            String encrypted = cryptographer.encrypt(plainText);
            assertNotNull(encrypted);
            assertFalse(plainText.equals(encrypted));
    
            String decrypted = cryptographer.decrypt(encrypted);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertNull(authenticator.decodeBase64(null));
        }
    
        @Test
        public void test_decodeBase64_standard() {
            // "Hello" encoded in standard Base64
            final byte[] result = authenticator.decodeBase64("SGVsbG8=");
            assertEquals("Hello", new String(result));
        }
    
        @Test
        public void test_decodeBase64_urlSafe() {
            // Base64 URL encoding (uses - and _ instead of + and /)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top