Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ScriptEngineException (2.48 sec)

  1. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test constructor with null message
            ScriptEngineException exception = new ScriptEngineException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
            ScriptEngineException exception = new ScriptEngineException(null, null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. 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)
  3. 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