Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 718 for test$ (0.02 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/script/ScriptEngineTest.java

        // Test evaluate method with valid template and parameters
        @Test
        public void test_evaluate_withValidTemplateAndParams() {
            String template = "Hello ${name}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

        }
    
        @Test
        public void test_sanitizeFilename_removesMultipleDoubleDots() {
            // "...." becomes "" (two ".." are removed)
            assertEquals("", AdminLogAction.sanitizeFilename("...."));
            assertEquals("/test.log", AdminLogAction.sanitizeFilename("....//test.log"));
            assertEquals("/test.log", AdminLogAction.sanitizeFilename("....//....//test.log"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    /**
     * Test class for Set-based field lookup improvements in QueryFieldConfig.
     * This class tests the performance and correctness of Set-based lookups
     * for search fields, facet fields, and sort fields.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates a valid instance
            MatchAllQueryCommand command = new MatchAllQueryCommand();
            assertNotNull(command);
        }
    
        @Test
        public void test_execute_logOutput() {
            // Test that execute method logs debug output when debug is enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

        @Test
        public void test_webFileRulePattern_xhtmlXml() {
            // Test that application/xhtml+xml is correctly matched
            Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/xhtml+xml").matches());
        }
    
        @Test
        public void test_webFileRulePattern_rdfXml() {
            // Test that application/rdf+xml is correctly matched
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessStandardTransformerTest.java

        }
    
        // Basic test to verify test framework is working
        @Test
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingCreatorTest.java

        }
    
        // Basic test to verify test framework is working
        @Test
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top