Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getThumbnailUrl (0.11 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<img src=\"http://example/foo.jpg\" width=\"100\" height=\"400\">";
            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
        }
    
        public void test_getThumbnailUrl() throws Exception {
            String data = "<meta property=\"og:image\" content=\"http://example/foo.jpg\" />";
            String expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top