Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for Beal (0.01 seconds)

  1. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // 127.0.0.1 is configured as a trusted proxy by default
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("127.0.0.1");
            request.addHeader("X-Real-IP", "203.0.113.75");
            assertEquals("203.0.113.75", rateLimitHelper.getClientIp(request));
        }
    
        @Test
        public void test_getClientIp_xForwardedForPriority_trustedProxy() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. AI_POLICY.md

    3. **Actively collaborate with us.** We commit real time and attention to everything we review. Low-effort submissions—where code is generated, submitted, and abandoned—waste our limited review capacity.
    
    ## What contributors can expect from us
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. README.md

    - **[DPE University Free Courses](https://dpeuniversity.gradle.com/app/catalog)**: A collection of hands-on courses for learning Gradle, complete with project-based tasks to improve real-world skills.
    - **[Gradle Community Resources](https://community.gradle.org/resources/)**: Discover a range of resources, tutorials, and guides to support your Gradle journey, from foundational concepts to advanced practices.
    
    ---
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 18:58:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // The real getDocumentCount returns -1 on error; our test double tracks this
            testClient.documentCountError = true;
            final long count = testClient.getDocumentCount("nonexistent_index");
            assertEquals(-1L, count);
        }
    
        @Test
        public void test_getAliasCount_returnsZeroOnError() {
            // The real getAliasCount returns 0 on error; our test double tracks this
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

                capturedOption.set(option);
                return null;
            });
    
            final ApiAdminSchedulerAction action = createActionWithMockService(scheduledJob);
    
            // Execute the real put$start() method
            final JsonResponse<ApiResult> jsonResponse = action.put$start("job-1");
    
            // Verify: response contains non-null jobLogId
            assertNotNull(jsonResponse);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                    case "test.property":
                        return "config-value";
                    case "filter.null":
                        // This would be filtered to null by PropertyFilter in real scenario
                        throw new ConfigPropertyNotFoundException("filter.null");
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        @Test
        public void test_updateDocument_noLanguageDetected() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("title", "xyz");
            doc.put("content", "xyz");
    
            // Without a real detector, this will throw NullPointerException
            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        @Test
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            params.put(Constants.JOB_LOG_ID, "pregenerated-abc123");
    
            final MockJobRuntime runtime = MockJobRuntime.of(ScriptExecutorJob.class, op -> op.params(() -> params));
    
            // Execute the real process() method
            final TestableScriptExecutorJob job = new TestableScriptExecutorJob();
            job.process(runtime);
    
            // Verify the JobLog was stored with the pre-generated ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
Back to Top