Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_evaluate_implicitReturn (0.54 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNull(groovyEngine.evaluate("def x = 1; return", params));
        }
    
        /**
         * Test script without explicit return (implicit return)
         */
        @Test
        public void test_evaluate_implicitReturn() {
            final Map<String, Object> params = new HashMap<>();
            params.put("x", 5);
            // In Groovy, the last expression is implicitly returned
    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)
Back to Top