Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for new_value1 (0.05 seconds)

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

            assertEquals("value3", crawlingInfoHelper.infoMap.get("key3"));
    
            // Test overwriting existing key
            crawlingInfoHelper.putToInfoMap("key1", "new_value1");
            assertEquals("new_value1", crawlingInfoHelper.infoMap.get("key1"));
        }
    
        @Test
        public void test_store_create() {
            final String sessionId = "test-session-123";
    
            // Mock CrawlingInfoService
    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)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            assertEquals("value1", dataMap.get("key1"));
    
            // Add an array - should merge with existing value
            String[] newValues = new String[] { "value2", "value3" };
            transformer.putResultDataBody(dataMap, "key1", newValues);
    
            Object result = dataMap.get("key1");
            assertTrue(result instanceof Object[]);
            Object[] resultArray = (Object[]) result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/DocMapTest.java

            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            assertNull(docMap.put("newKey", "newValue"));
            assertEquals("newValue", docMap.get("newKey"));
    
            assertEquals("newValue", docMap.put("newKey", "updatedValue"));
            assertEquals("updatedValue", docMap.get("newKey"));
    
            assertNull(docMap.get("nonexistent"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("value", "new_value");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

            return parent.remove(toCamelCase(key), value);
        }
    
        @Override
        public boolean replace(final K key, final V oldValue, final V newValue) {
            if (parent.replace(key, oldValue, newValue)) {
                return true;
            }
            return parent.replace(key, oldValue, newValue);
        }
    
        @Override
        public V replace(final K key, final V value) {
            // use original key
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (!escape) {
                return value;
            }
    
            String newValue = value;
            for (final String element : Constants.RESERVED) {
                final String replacement = element.replaceAll("(.)", "\\\\$1");
                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        /**
         * Builds the complete query string from the configured parameters.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                String value1 = fessConfig.get(testKey);
                assertEquals(initialValue, value1);
    
                // Change system property
                String newValue = "changed";
                System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, newValue);
    
                // Get value again - in real FessConfigImpl it would be cached,
                // but our test implementation always checks system properties
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    var newValue = this.startDate.format(this.locale.format);
                    if (!this.singleDatePicker) {
                        newValue += this.locale.separator + this.endDate.format(this.locale.format);
                    }
                    if (newValue !== this.element.val()) {
                        this.element.val(newValue).trigger('change');
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 64.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                @Override
                public Object evaluate(String template, Map<String, Object> paramMap) {
                    // Try to add new param
                    paramMap.put("newKey", "newValue");
                    return paramMap.size();
                }
            });
    
            // Execute first time
            Object result1 = scriptExecutor.execute("modifyEngine", "script1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/LabelTypeTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("value", "newValue");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 19 07:14:01 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top