Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 297 for valide (0.05 seconds)

  1. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

        }
    
        @Test
        public void test_getId_negativeValue() {
            // Test with negative ID value
            dictionaryItem.id = -456L;
            assertEquals(-456L, dictionaryItem.getId());
        }
    
        @Test
        public void test_getId_maxValue() {
            // Test with maximum Long value
            dictionaryItem.id = Long.MAX_VALUE;
            assertEquals(Long.MAX_VALUE, dictionaryItem.getId());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Throwable cause = new IllegalArgumentException("Invalid argument");
            SearchEngineClientException exception = new SearchEngineClientException(null, cause);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            }
    
        }
    
        /**
         * Returns the OpenSearch QueryBuilder for geographic queries.
         *
         * @return the QueryBuilder containing geo-distance queries, or null if no valid geo parameters were found
         */
        public QueryBuilder toQueryBuilder() {
            return builder;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        }
    
        @Test
        public void test_isSortField() {
            String[] sortFields = { "score", "created", "modified", "title" };
            queryFieldConfig.setSortFields(sortFields);
    
            // Test valid sort fields
            assertTrue(queryFieldConfig.isSortField("score"));
            assertTrue(queryFieldConfig.isSortField("created"));
            assertTrue(queryFieldConfig.isSortField("modified"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        @Test
        public void test_evaluate_withValidModelName() {
            // Test with valid model name
            final String testModelName = "test_model";
            final int testWindowSize = 100;
    
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            assertEquals("testService", nonPagerComponentName);
        }
    
        // Test class name creation from component name
        @Test
        public void test_fromComponentNameToClassName() {
            // Test with valid component name - using custom method
            MockNamingConvention mockNaming = (MockNamingConvention) namingConvention;
            String className = mockNaming.fromComponentNameToPartOfClassName("testPager");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            kuromojiPager.clear();
            return asHtml(path_AdminDictKuromoji_AdminDictKuromojiJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return ".sql=text/x-sql\ninvalid_entry\n.pls=text/x-plsql";
                }
            });
    
            mimeTypeHelper.init();
    
            // Valid entries should still be loaded
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @param id the encoded ID to convert
         * @return PathInfo object with separated path and name
         */
        public static PathInfo convertToItem(final String id) {
            final String value = decodeId(id);
            final String[] values = split(value, "/").get(stream -> stream.filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            if (values.length == 0) {
                // invalid?
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
Back to Top