Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setFessConfig (0.07 sec)

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

        @Override
        public void setUp() throws Exception {
            super.setUp();
            sambaHelper = new SambaHelper();
        }
    
        public void test_smb_account() throws SmbException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getSmbAvailableSidTypes() {
                    return "1,2,4:2,5:1";
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

    import org.lastaflute.web.servlet.request.stream.WrittenStreamOut;
    
    public class OsddHelperTest extends UnitFessTestCase {
    
        public void test_init_nofile() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getOsddLinkEnabled() {
                    return "auto";
                }
    
                @Override
                public String getSsoType() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        @SuppressWarnings("serial")
        public void test_getSearchRoleName() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                public boolean isLdapIgnoreNetbiosName() {
                    return true;
                }
    
                public boolean isLdapGroupNameWithUnderscores() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            assertEquals("guest", permissionHelper.encode("guest"));
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getRoleSearchUserPrefix() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            getMockRequest().setLocale(null);
            assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink());
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getForumLink() {
                    return StringUtil.EMPTY;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class ProtocolHelperTest extends UnitFessTestCase {
        public void test_add_httpx() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerWebProtocols() {
                    return "http,https";
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            ComponentUtil.setFessConfig(null);
        }
    
        public void test_pruneNode_removeNoScript() throws Exception {
            final String data = "<html><body><br/><script>foo</script><noscript>bar</noscript></body></html>";
            final Document document = getDocument(data);
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        private void setQueryType(final String queryType) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String get(String propertyKey) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

                }
    
                @Override
                public String getHttpProxyPort() {
                    return StringUtil.EMPTY;
                }
            };
            ComponentUtil.setFessConfig(fessConfig);
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                public String getProductVersion() {
                    return "98.76";
                }
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

        @Override
        protected String prepareConfigFile() {
            return "test_app.xml";
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top