Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for empty (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        }
    
        public void test_empty() {
            // Test empty user bean creation
            FessUserBean emptyBean = FessUserBean.empty();
            assertNotNull(emptyBean);
    
            // Test getUserId returns EMPTY_USER_ID
            assertEquals(Constants.EMPTY_USER_ID, emptyBean.getUserId());
    
            // Test hasRoles always returns true for empty user
            assertTrue(emptyBean.hasRoles(new String[] { "admin" }));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Assert deleteByQuery was called with the configured empty index
            assertTrue(deleteByQueryCalled);
            assertEquals("", deleteIndex);
    
            // Assert result is empty when successful
            assertEquals("", result);
        }
    
        public void test_execute_withEmptyFieldName() {
            // Configure empty field name
            expiresFieldName = "";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the list of goals, or empty if not specified
         */
        @Nonnull
        Optional<List<String>> goals();
    
        /**
         * Returns the target POM model version for upgrades.
         * Supported values include "4.0.0" and "4.1.0".
         *
         * @return an {@link Optional} containing the model version, or empty if not specified
         */
        @Nonnull
        Optional<String> modelVersion();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            };
    
            assertEquals("Empty minKey should be empty string", "", emptyKeysAnnotation.minKey());
            assertEquals("Empty maxKey should be empty string", "", emptyKeysAnnotation.maxKey());
            assertTrue("Empty minKey should match StringUtil.EMPTY", StringUtil.EMPTY.equals(emptyKeysAnnotation.minKey()));
            assertTrue("Empty maxKey should match StringUtil.EMPTY", StringUtil.EMPTY.equals(emptyKeysAnnotation.maxKey()));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

        }
    
        public void test_search_withEmptyQuery() {
            // Test search with empty query
            TestRankFusionSearcher testSearcher = new TestRankFusionSearcher();
            String query = "";
            SearchRequestParams params = createTestSearchRequestParams();
            OptionalThing<FessUserBean> userBean = OptionalThing.empty();
    
            SearchResult result = testSearcher.search(query, params, userBean);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
            assertEquals("Empty file should have no records", 0, result.getAllRecordCount());
            assertEquals("Empty file should have no pages", 0, result.getAllPageCount());
        }
    
        // Test selectList method with valid data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    		// Test listing an empty directory in recursive mode (62)
    		{"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true},
    		// Test listing an empty directory in a non recursive mode (63)
    		{"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true},
    		// Test listing a directory which contains an empty directory (64)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - should return empty when parameter name is blank
            assertFalse(result.isPresent());
        }
    
        // Test findBusinessLocale with null parameter name
        public void test_findBusinessLocale_withNullParameterName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    	return nil
    }
    
    // Validate returns an error if key is empty
    func (kv BatchJobKV) Validate() error {
    	if kv.Key == "" {
    		return BatchJobYamlErr{
    			line: kv.line,
    			col:  kv.col,
    			msg:  "key can't be empty",
    		}
    	}
    	return nil
    }
    
    // Empty indicates if kv is not set
    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils.go

    }
    
    // Empty returns true for a target if arn is empty
    func (rt replicatedTargetInfo) Empty() bool {
    	return rt.Arn == ""
    }
    
    type replicatedInfos struct {
    	ReplicationTimeStamp time.Time
    	Targets              []replicatedTargetInfo
    }
    
    func (ri replicatedInfos) CompletedSize() (sz int64) {
    	for _, t := range ri.Targets {
    		if t.Empty() {
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
Back to top