Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 451 for EMPTY (0.06 seconds)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            paramMap.put("name", "World");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Hello World", result);
        }
    
        // Test evaluate method with empty template
        @Test
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

            // Defaults to UNCLEAR when value is null
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(null));
        }
    
        @Test
        public void test_fromValue_empty() {
            // Defaults to UNCLEAR when value is empty or whitespace
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(""));
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("   "));
        }
    
        @Test
        public void test_fromValue_unknown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

         * This method escapes characters that have special meaning in LDAP filter expressions
         * to prevent LDAP injection attacks.
         *
         * @param value the value to escape (null is treated as empty string)
         * @return the escaped value safe for use in LDAP search filters
         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         *
         * @param id the unique identifier of the duplicate host configuration
         * @return an OptionalEntity containing the DuplicateHost if found, empty otherwise
         * @throws IllegalArgumentException if id is null or empty
         */
        public OptionalEntity<DuplicateHost> getDuplicateHost(final String id) {
            return duplicateHostBhv.selectByPK(id);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertNull(execJob.sessionId);
            assertTrue(execJob.useLocalFesen);
            assertNull(execJob.logFilePath);
            assertNull(execJob.logLevel);
            assertEquals(StringUtil.EMPTY, execJob.logSuffix);
            assertNotNull(execJob.jvmOptions);
            assertTrue(execJob.jvmOptions.isEmpty());
            assertNull(execJob.lastaEnv);
            assertEquals(-1, execJob.timeout);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Initially not deleted
            assertFalse(item.isDeleted());
    
            // Set newInputs to empty array and newOutput
            item.setNewInputs(new String[] {});
            item.setNewOutput("output");
            assertTrue(item.isDeleted());
    
            // Set newInputs to non-empty array - not deleted
            item.setNewInputs(new String[] { "something" });
            assertFalse(item.isDeleted());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/user/admin_user.jsp

                                </div>
                                <%-- List --%>
                                <c:if test="${userPager.allRecordCount == 0}">
                                    <div class="row top10"><div class="col-sm-12 empty-list-placeholder"><i class="fa fa-info-circle text-primary" aria-hidden="true"></i>
                                            <la:message key="labels.list_could_not_find_crud_table"/>
                                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test with different names
            LdapUser user2 = new LdapUser(testEnv, "anotheruser");
            assertEquals("anotheruser", user2.getName());
    
            // Test with empty name
            LdapUser user3 = new LdapUser(testEnv, "");
            assertEquals("", user3.getName());
    
            // Test with null name
            LdapUser user4 = new LdapUser(testEnv, null);
            assertNull(user4.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            logger.info("[BEGIN] bulkCreateEmptyListTest");
    
            // Test with empty document list - should return error status
            final Map<String, Object> requestBody = new HashMap<>();
            final List<Map<String, Object>> documents = new ArrayList<>();
            requestBody.put("documents", documents);
    
            // Execute bulk create with empty list - expect error status (1)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            assertEquals(TaskOutcome.SUCCESS, result.task(":successful-test-with-leftover:test")!!.outcome)
    
            assertEquals(2, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
            assertEquals(2, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top