- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for When (0.02 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java
sitemap.setLoc("https://example.com/page1"); SitemapSet sitemapSet = new SitemapSet(); sitemapSet.addSitemap(sitemap); when(crawlerContainer.getComponent("sitemapsHelper")).thenReturn(sitemapsHelper); try { when(sitemapsHelper.parse(any(InputStream.class))).thenReturn(sitemapSet); } catch (Exception e) { fail("Should not throw exception in test setup"); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
when(mockSearchResponse.getScrollId()).thenReturn("scroll1", "scroll1"); when(mockSearchResponse.getHits()).thenReturn(mockSearchHits); when(mockSearchHits.getHits()).thenReturn(new SearchHit[] { mockHit }, new SearchHit[0]); when(mockHit.getIndex()).thenReturn("test-index"); when(mockHit.getId()).thenReturn("doc1");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
final Rule rule = mock(Rule.class); final ResponseProcessor responseProcessor = mock(ResponseProcessor.class); when(ruleManager.getRule(responseData)).thenReturn(rule); when(rule.getRuleId()).thenReturn("test-rule"); when(rule.getResponseProcessor()).thenReturn(responseProcessor); // Use reflection to access protected method final java.lang.reflect.Method method =Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
public Integer crawlingThreadCount; /** * Enable or disable search query logging. * When enabled, user search queries are logged for analysis. */ @Size(max = 10) public String searchLog; /** * Enable or disable user information tracking. * When enabled, user information is stored and tracked. */ @Size(max = 10) public String userInfo; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** The key of the configuration. e.g. Referrer-Policy:strict-origin-when-cross-origin */ String API_JSON_RESPONSE_HEADERS = "api.json.response.headers"; /** The key of the configuration. e.g. false */ String API_JSON_RESPONSE_EXCEPTION_INCLUDED = "api.json.response.exception.included"; /** The key of the configuration. e.g. Referrer-Policy:strict-origin-when-cross-origin */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 525.7K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java
* @throws ConfigPropertyNotFoundException When the property is not found. */ String get(String propertyKey); /** * Is the property true? * @param propertyKey The key of the property which is boolean type. (NotNull) * @return The determination, true or false. (if not found, exception) * @throws ConfigPropertyNotFoundException When the property is not found. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
List<UrlQueueImpl<Long>> newUrlList = new ArrayList<>(); newUrlList.add(newUrl1); newUrlList.add(newUrl2); when(dataHelper.getUrlQueueList(sessionId)).thenReturn(existingQueue); when(dataHelper.getAccessResultMap(sessionId)).thenReturn(accessResultMap); // Execute service.offerAll(sessionId, newUrlList); // VerifyRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// Ensure environment variables are not set (in real scenario) // In this test, we expect IOException when project ID is blank try { conn.connect(); fail("Should throw IOException when project ID is not set"); } catch (IOException e) { assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank")); } }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
CLAUDE.md
@Override protected void setUp() throws Exception { super.setUp(); // Setup } public void test_method_scenario() throws Exception { // Given // When // Then } } ``` **Coverage Goal**: >80% line coverage ### Contributing 1. Fork repo 2. Create feature branch (`feature/amazing-feature`) 3. Make focused commits 4. Add testsRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
CLAUDE.md
# CLAUDE.md This file provides guidance to Claude Code when working with this repository. ## Project Overview Fess is an Enterprise Search Server built on OpenSearch. It's a Java-based web application that crawls and indexes documents from various sources and provides full-text search capabilities. ## Development Commands ### Setup ```bash # Download OpenSearch plugins (required before first build) mvn antrun:run
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.8K bytes - Viewed (0)