Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for setFessConfig (0.23 sec)

  1. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void setUp() throws Exception {
            super.setUp();
            groovyEngine = new GroovyEngine();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_evaluate() {
            final Map<String, Object> params = new HashMap<>();
            assertNull(groovyEngine.evaluate("", params));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

                @Override
                public String getAppEncryptPropertyPattern() {
                    return ".*password|.*key";
                }
            };
            ComponentUtil.setFessConfig(fessConfig);
        }
    
        public void test_convertParameterMap() {
            String parameters;
            Map<String, String> parameterMap;
    
            parameters = "";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                public String getSystemProperty(final String key, final String defaultValue) {
                    return systemPropMap.getOrDefault(key, defaultValue);
                }
            };
            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 Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            assertEquals("labels.facet_filetype_title", view3.getTitle());
            assertEquals(10, view3.getQueryMap().size());
        }
    
        public void test_getUrlLink() throws IOException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                public boolean isAppendQueryParameter() {
                    return false;
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                // ignore
            }
            return false;
        }
    
        /**
         * For test purpose only.
         *
         * @param fessConfig fessConfig instance
         */
        public static void setFessConfig(final FessConfig fessConfig) {
            ComponentUtil.fessConfig = fessConfig;
            if (fessConfig == null) {
                systemHelper = null;
                FessProp.propMap.clear();
                componentMap.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            new WildcardQueryCommand().register();
        }
    
        private void setQueryType(final String queryType) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String get(String propertyKey) {
                    return fessConfig.get(propertyKey);
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top