Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 317 for dfmail (0.03 seconds)

  1. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            Map<String, Object> exceptionParams = new HashMap<>();
            exceptionParams.put("throwException", true);
    
            try {
                queryRescorer.evaluate(exceptionParams);
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        @Test
        public void test_evaluate_concurrency() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                field.setAccessible(true);
                long actualInterval = (Long) field.get(dataIndexHelper);
                assertEquals(interval, actualInterval);
            } catch (Exception e) {
                fail("Failed to verify crawlingExecutionInterval: " + e.getMessage());
            }
        }
    
        @Test
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull(e, "Exception should not be null if thrown");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            response = checkMethodBase(searchBody).get(API_PATH + "/log/" + logId).asString();
            Map<String, Object> log = JsonPath.from(response).getMap("response.log");
    
            logger.info("Job log detail: {}", log);
            assertEquals(logId, log.get("id").toString());
            assertTrue(log.containsKey("job_name"), "Log should have job_name field");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
            for (int i = 0; i < threadCount; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                } catch (Exception e) {
                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
                fail("Should throw NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        @Test
        public void test_getBoostedDocumentList_noBoostList() {
    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)
  7. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

                }
            });
    
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.init();
    
            try {
                protocolHelper.isValidWebProtocol(null);
                fail("Should throw exception for null URL");
            } catch (Exception e) {
                // Expected
                assertNotNull(e);
            }
        }
    
        @Test
        public void test_isValidFileProtocol_nullUrl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  8. src/main/resources/fess_message_zh_TW.properties

    # ----------------------------------------------------------
    # Hibernate Validator
    # -------------------
    constraints.CreditCardNumber.message = {item} 不是有效的信用卡號。
    constraints.EAN.message = {item} 不是有效的 {type} 條碼。
    constraints.Email.message = {item} 不是有效的電子郵件地址。
    constraints.Length.message = {item} 的長度必須在 {min} 到 {max} 之間。
    constraints.LuhnCheck.message = {value} 的 Luhn Modulo 11 檢查碼不正確。
    constraints.Mod10Check.message = {value} 的 Modulo 10 檢查碼不正確。
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            List<String> cmdList = new ArrayList<>();
            File invalidFile = new File("/invalid/path/test.properties");
    
            try {
                execJob.testCreateSystemProperties(cmdList, invalidFile);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

                // The improved error handling should catch and log any exceptions
                // without propagating them
                controller.delayForWaitingNewUrl();
            } catch (Exception e) {
                fail("delayForWaitingNewUrl should not throw exceptions: " + e.getMessage());
            }
        }
    
        /**
         * Test boundary values for delay settings
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top