Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for existent (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            // Test non-existent mimetype returns default value
            assertEquals("others", fileTypeHelper.get("non/existent"));
        }
    
        public void test_get_withNullMimetype() {
            assertEquals("others", fileTypeHelper.get(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        public void test_get_nullProperty() {
            // Test getting non-existent property
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null);
            assertEquals(1, cmdList.size());
            assertEquals("-Dnon.existent.property=default.value", cmdList.get(0));
    
            // Test with property that doesn't exist and no default value
            cmdList.clear();
            execJob.testAddSystemProperty(cmdList, "another.non.existent", null, null);
            assertEquals(0, cmdList.size());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/BeanMap.java

    package org.codelibs.core.beans.util;
    
    import java.util.LinkedHashMap;
    
    import org.codelibs.core.exception.IllegalKeyOfBeanMapException;
    
    /**
     * A map with String keys that throws an exception when accessing (get) a non-existent key.
     *
     * @author higa
     */
    public class BeanMap extends LinkedHashMap<String, Object> {
    
        private static final long serialVersionUID = 1;
    
        /**
         * Creates a new {@link BeanMap}.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
        }
    
        // Test getScriptEngine with non-existent name
        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertEquals(123, dataStoreParams.get("key2"));
    
            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    
            // Test with multiple names - should also throw exception for non-existent files
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                }
            };
    
            try {
                emptyEnv.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
    
            try {
                emptyEnv.is("non.existent.boolean");
                fail("Should throw ConfigPropertyNotFoundException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            assertEquals("script for engine2", engine2.getLastScript());
        }
    
        public void test_execute_withInvalidScriptType() {
            // Try to execute with non-existent script type
            try {
                scriptExecutor.execute("nonexistent", "some script");
                fail("Expected ScriptEngineException");
            } catch (ScriptEngineException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        public void test_getObject_nonExistentKey() {
            // Test getObject with non-existent key
            Object result = WebApiUtil.getObject("nonExistentKey");
            assertNull("getObject should return null for non-existent key", result);
        }
    
        public void test_setError_withMessage_noRequest() {
            // Test setError with message when no HTTP request is available
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top