Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for setFessConfig (0.12 sec)

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

        public void setUp() throws Exception {
            super.setUp();
            provider = new FessUserLocaleProcessProvider();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test isAcceptCookieLocale method
        public void test_isAcceptCookieLocale() {
            // Always returns false as per implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            ComponentUtil.register(userInfoService, UserInfoService.class.getCanonicalName());
            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute
            String result = purgeLogJob.execute();
    
            // Assert all services were called
            assertTrue(deleteCrawlingInfoCalled[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test configuration
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getMailFromName() {
                    return "Test Admin";
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                }
    
                @Override
                protected void executeCrawler() {
                    // Mock execution
                }
            };
    
            // Mock ComponentUtil
            ComponentUtil.setFessConfig(new TestFessConfig() {
                @Override
                public Integer getJobMaxCrawlerProcessesAsInteger() {
                    return 5;
                }
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    return documentUpdateIndex;
                }
            };
    
            // Register components
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
            ComponentUtil.setFessConfig(fessConfig);
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertTrue(user.getEnvironment().isEmpty());
        }
    
        public void test_getPermissions_withoutLdapConfig() {
            // Test when baseDn or accountFilter is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLdapBaseDn() {
                    return "";
                }
    
                @Override
                public String getLdapAccountFilter() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getCookieDefaultPath() {
                    return "/test/path";
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            originalFessConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public void tearDown() throws Exception {
            if (originalFessConfig != null) {
                ComponentUtil.setFessConfig(originalFessConfig);
            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Register components
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("Status of test-cluster is changed to GREEN.", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top