- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_getClient (0.05 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
clientFactory.addClient("ftp:.*", container.getComponent("ftpClient")); clientFactory.addClient("storage:.*", container.getComponent("storageClient")); } public void test_getClient() { String url; CrawlerClient client; url = "http://hoge.com/"; client = clientFactory.getClient(url); assertNotNull(client);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 5.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
verify(urlQueueService, times(0)).offerAll(anyString(), any()); } /** * Test getClient method. */ public void test_getClient() throws Exception { final CrawlerClient client = mock(CrawlerClient.class); when(clientFactory.getClient("http://example.com/")).thenReturn(client); // Use reflection to access protected methodCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.3K bytes - Click Count (0)