Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 353 for stesti (0.03 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            super.tearDown(testInfo);
        }
    
        // Test isAcceptCookieLocale method
        @Test
        public void test_isAcceptCookieLocale() {
            // Always returns false as per implementation
            assertFalse(provider.isAcceptCookieLocale());
        }
    
        // Test findBusinessLocale with valid locale parameter
        @Test
        public void test_findBusinessLocale_withValidLocale() {
            // Setup mock config
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "test.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "http://example.com/test%20+%2B.txt";
            exp = "test  +.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "file://example.com/test%20+%2B.txt";
            exp = "test ++.txt";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    // Method exists but failed to execute, which is acceptable in test environment
                    assertTrue("Method invocation failed in test environment", true);
                } else {
                    fail("Failed to test getExpiredTime method: " + (message != null ? message : e.getClass().getSimpleName()));
                }
            }
        }
    
        @Test
        public void test_getInfoMap() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

        }
    
        @Test
        public void test_constructor() {
            LogNotificationTarget target = new LogNotificationTarget();
            assertNotNull(target);
        }
    
        @Test
        public void test_expired_emptyBuffer() {
            // expired() with empty buffer is no-op (no exception)
            logNotificationTarget.expired();
        }
    
        @Test
        public void test_flush_callsExpired() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            }
        }
    
        @Test
        public void test_serialization() {
            // Test that the serialVersionUID is properly defined
            // This test verifies that the class can be instantiated and has the serial version UID
            ServletException servletException = new ServletException("Serialization test");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

        }
    
        @Test
        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
            final Map<String, Object> map = new HashMap<String, Object>();
    
            map.put("data1", "test");
            assertTrue(docBoostMatcher.match(map));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    /**
     * Test class for HotThreadMonitorTarget.
     */
    public class HotThreadMonitorTargetTest extends UnitFessTestCase {
    
        private HotThreadMonitorTarget target;
    
        @Override
    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)
  8. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final Map<String, Object> map = Map.of("name", "test-name");
            assertEquals("test-name", coordinatorHelper.getStringValue(map, "name"));
        }
    
        @Test
        public void test_getStringValue_numeric() {
            final Map<String, Object> map = Map.of("count", 42);
            assertEquals("42", coordinatorHelper.getStringValue(map, "count"));
        }
    
        @Test
        public void test_getStringValue_null() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            curtainFinallyHook = new FessCurtainFinallyHook();
        }
    
        // Test normal execution of hook method
        @Test
        public void test_hook_normalExecution() {
            // Create a mock FwAssistantDirector
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

        }
    
        @Test
        public void test_loginPaths() throws Exception {
            // Test login-related paths
            assertEquals("/login/index.jsp", FessHtmlPath.path_Login_IndexJsp.getRoutingPath());
            assertEquals("/login/newpassword.jsp", FessHtmlPath.path_Login_NewpasswordJsp.getRoutingPath());
        }
    
        @Test
        public void test_configPaths() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top