Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ScriptEngineException (1.16 sec)

  1. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Try to execute with non-existent script type
            try {
                scriptExecutor.execute("nonexistent", "some script");
                fail("Expected ScriptEngineException");
            } catch (ScriptEngineException e) {
                assertTrue(e.getMessage().contains("nonexistent"));
            }
        }
    
        public void test_execute_withNullScriptType() {
            // Try to execute with null script type
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        public void test_getScriptEngine_nullName() {
            try {
                scriptEngineFactory.getScriptEngine(null);
                fail("Should throw ScriptEngineException for null name");
            } catch (ScriptEngineException e) {
                assertEquals("script name is null.", e.getMessage());
            }
        }
    
        // Test getScriptEngine with non-existent name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top