Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_doHead (0.11 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(5, testClient.count);
            assertEquals(url, response.getUrl());
            assertEquals(Constants.GET_METHOD, response.getMethod());
        }
    
        public void test_doHead() {
            final FaultTolerantClient client = new FaultTolerantClient();
            final TestClient testClient = new TestClient();
            final TestListener testListener = new TestListener();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals(".*\\..*", httpClient.convertRobotsTxtPathPattern("."));
            assertEquals(".*", httpClient.convertRobotsTxtPathPattern("*"));
        }
    
        public void test_doHead() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/";
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            try (final ResponseData responseData = storageClient.doGet("")) {
                fail();
            } catch (CrawlerSystemException e) {
                // nothing
            }
        }
    
        public void test_doHead() throws Exception {
            try (final ResponseData responseData = storageClient.doHead("storage://fess/file1.txt")) {
                assertEquals("storage://fess/file1.txt", responseData.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top