Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 536 for match4 (0.03 seconds)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            // Test that initializeProbes doesn't throw exception
            try {
                ThumbnailGenerator.initializeProbes();
                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
                fail("initializeProbes should not throw exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_main_withHelp() {
            // Test main method with help option
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        @Test
        public void test_multipleCatches() {
            // Test with multiple catch blocks
            boolean caughtSpecific = false;
            boolean caughtRuntime = false;
    
            try {
                throw new DictionaryExpiredException();
            } catch (DictionaryExpiredException e) {
                caughtSpecific = true;
            } catch (RuntimeException e) {
                caughtRuntime = true;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                    logger.info("Backup file uploaded successfully and queued for import: fileName={}, tempFile={}", fileName,
                            tempFile.getAbsolutePath());
                }
            } catch (final IOException e) {
                logger.warn("Failed to upload backup file: fileName={}, error={}", fileName, e.getMessage(), e);
                if (tempFile.exists() && !tempFile.delete()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
                            // Ignore close exception
                        }
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            TestScriptEngine engine = new TestScriptEngine();
            try {
                scriptEngineFactory.add(null, engine);
                fail("Should throw IllegalArgumentException for null name");
            } catch (IllegalArgumentException e) {
                assertTrue(e.getMessage().contains("Both name and scriptEngine parameters are required"));
                assertTrue(e.getMessage().contains("name: null"));
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

        @Test
        public void test_escapeValue_realWorldLdapInjectionAttempts() {
            // Authentication bypass attempt
            assertEquals("\\2a", LdapUtil.escapeValue("*"));
    
            // Filter injection to match any user
            assertEquals("\\2a\\29\\28|\\28cn=\\2a", LdapUtil.escapeValue("*)(|(cn=*"));
    
            // Attempt to close filter and add OR condition
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

                return (DfFinalTimeZoneProvider) field.get(null);
            } catch (NoSuchFieldException e) {
                // Field might not exist in this version, return null
                return null;
            } catch (IllegalAccessException e) {
                // Cannot access field due to security restrictions
                return null;
            } catch (Exception e) {
                // Other errors, return null instead of throwing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test catching as parent class
            String message = "Parent class catch test";
    
            try {
                throw new ScriptEngineException(message);
            } catch (FessSystemException e) {
                assertEquals(message, e.getMessage());
                assertTrue(e instanceof ScriptEngineException);
            } catch (Exception e) {
                fail("Should have caught as FessSystemException");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

    import org.apache.lucene.search.Query;
    import org.codelibs.fess.entity.QueryContext;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Query command for match all documents query.
     */
    public class MatchAllQueryCommand extends QueryCommand {
    
        /**
         * Default constructor.
         */
        public MatchAllQueryCommand() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Since echo commands complete quickly, we may not catch them running
                // Just verify no exceptions occurred
    
                // Clean up
                processHelper.destroyProcess(sessionId1);
                processHelper.destroyProcess(sessionId2);
    
                // Test passes if no exceptions thrown
                assertTrue(true);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top