Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 150 for captcha (0.04 seconds)

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

                try {
                    keyMatchHelper.buildQuery(keywordList, functionBuilders);
                } catch (Exception e) {
                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
    
                assertEquals(0, functionBuilders.size());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.sessionId = "test-session";
    
            try {
                int result = errorCrawler.doCrawl(options);
                // Should catch the exception and return EXIT_FAIL
                assertEquals(Constants.EXIT_FAIL, result);
            } catch (RuntimeException e) {
                // Expected behavior - test exception propagates
                assertEquals("Test exception", e.getMessage());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                exitCode = process(options);
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("SuggestCreator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test throwing and catching the exception
            String expectedMessage = "Test throw and catch";
    
            try {
                throw new SearchQueryException(expectedMessage);
            } catch (SearchQueryException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught SearchQueryException");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                    return true;
                }, OptionalThing.empty());
                response.flushBuffer();
                if (logger.isDebugEnabled()) {
                    logger.debug("Loaded {} documents", count);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top