Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_evaluate_withMissingParameter (0.14 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello Alice, you are 25 years old", result);
        }
    
        // Test evaluate method with missing parameter
        public void test_evaluate_withMissingParameter() {
            String template = "Hello ${name} and ${other}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "Bob");
            // "other" parameter is missing
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top