Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_evaluate_noStateLeakBetweenEvaluations (0.67 seconds)

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

        /**
         * Test that cached scripts do not leak binding state between evaluations.
         * Verifies that local variables in one evaluation do not affect the next.
         */
        @Test
        public void test_evaluate_noStateLeakBetweenEvaluations() {
            final GroovyEngine engine = new GroovyEngine();
            final String script = "def counter = 0; counter += x; return counter";
    
            final Map<String, Object> params1 = new HashMap<>();
    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