Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for blank (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Verify
            assertTrue(result.isPresent());
            assertEquals(Locale.UK, result.get());
        }
    
        // Test findBusinessLocale with blank parameter name
        public void test_findBusinessLocale_withBlankParameterName() {
            // Setup mock config with blank parameter name
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getQueryBrowserLangParameterName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            // Test empty string (should be valid)
            bean.setCronExpression("");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test blank string (should be valid)
            bean.setCronExpression("   ");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLtrModelName() {
                    return "";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    // of leak checking. It excludes testing or runtime ones.
    func pickRelevantGoroutines() (gs []string) {
    	// get runtime stack buffer.
    	buf := debug.Stack()
    	// runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" .
    	for g := range strings.SplitSeq(string(buf), "\n\n") {
    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext = new QueryContext("", false);
            assertEquals("*", queryContext.getQueryString());
            assertNull(queryContext.getDefaultField());
        }
    
        // Test constructor with blank query string
        public void test_constructor_blankQueryString() {
            queryContext = new QueryContext("   ", false);
            assertEquals("*", queryContext.getQueryString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            docMap.put("_id", "nonexistent");
    
            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNull(result);
        }
    
        // Test getThumbnailFile with blank path
        public void test_getThumbnailFile_blankPath() {
            Map<String, Object> docMap = new HashMap<>();
            // No _id field, so docid will be null
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
        // Test with blank Origin header
        public void test_doFilter_blankOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "");
    
            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            LdapUser user = new LdapUser(emptyEnv, "user");
            assertTrue(user.getEnvironment().isEmpty());
        }
    
        public void test_getPermissions_withoutLdapConfig() {
            // Test when baseDn or accountFilter is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLdapBaseDn() {
                    return "";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            assertTrue(result.contains("Session Id:"));
            assertTrue(result.contains("Process is terminated due to 60 second exceeded") || result.contains("Process terminated"));
        }
    
        // Test executePython with blank filename
        public void test_executePython_blankFilename() {
            pythonJob.filename("");
    
            try {
                pythonJob.executePython();
                fail("Should throw JobProcessingException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            assertFalse(searchRequestParams.hasConditionQuery());
        }
    
        public void test_hasConditionQuery_withBlankQuery() {
            // Test with blank query parameter
            testParams.conditions.put(SearchRequestParams.AS_Q, new String[] { "   " });
            assertFalse(searchRequestParams.hasConditionQuery());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top