Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 451 for EMPTY (0.02 seconds)

  1. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

                    .body("data", notNullValue());
        }
    
        @Test
        public void testGetFavorites_noQueryId() {
            // Test without queryId - should still work but return empty or error
            given().contentType("application/json").when().get("/api/v1/favorites").then().statusCode(200);
        }
    
        @Test
        public void testSetFavorite_ok() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            // or throw an exception. Test the actual behavior.
            queryFieldConfig.highlightedFields(stream -> {
                // If it doesn't throw NPE, it should provide an empty stream
                assertEquals(0, stream.count());
            });
        }
    
        @Test
        public void test_init_withInvalidDefaultFields() {
            // Test with invalid default field formats
    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)
  3. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Creates a RelatedQuery entity from the provided form data.
         *
         * @param form the form containing the related query data
         * @return optional entity containing the related query data, or empty if creation fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            final String jspType = "view";
            final File jspFile = getJspFile(form.fileName, jspType);
    
            if (form.content == null) {
                form.content = StringUtil.EMPTY;
            }
    
            validate(form, messages -> {}, () -> asEditHtml(form));
            verifyToken(() -> asEditHtml(form));
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

        public void test_getJavaVersion_edgeCases() {
            // Test with null java.version property
            System.clearProperty("java.version");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Test with empty string
            System.setProperty("java.version", "");
            try {
                JvmUtil.getJavaVersion();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

         * Uses ParamMap for automatic case format conversion between camelCase and snake_case.
         */
        protected final Map<String, Object> params;
    
        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
    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)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Map<String, String> infoMap = new HashMap<>();
    
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
                fail("Should not throw exception with empty map: " + e.getMessage());
            }
        }
    
        // Test getValueFromMap private method via reflection
        @Test
        public void test_getValueFromMap() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                public String getIndexFieldSegment() {
                    return "segment";
                }
    
                @Override
                public String get(String key) {
                    // Return empty string instead of null
                    return "";
                }
            };
    
            ComponentUtil.setFessConfig(fessConfig);
    
            // Initialize QueryFieldConfig
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            assertEquals(200, response.getStatusCode());
            String body = response.getBody().asString();
            assertTrue(body != null && body.length() > 0, "Response body should not be empty");
            // NDJSON format: each line is a JSON object
            String[] lines = body.trim().split("\n");
            assertTrue(lines.length > 0, "Should have at least one line in NDJSON response");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                                } else {
                                    boolean empty = callback.deleteUrlList.isEmpty();
                                    // Just verify the check doesn't throw exception
                                    if (!empty) {
                                        assertTrue(callback.deleteUrlList.size() > 0);
                                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top