Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_getHtml_empty (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("タイトル", data.getValues("title")[0]);
        }
    
        public void test_getHtml_empty() {
            final InputStream in = new ByteArrayInputStream("".getBytes());
            final String content = htmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            assertTrue(content.contains("画像2"));
            assertTrue(content.contains("タイトル1"));
            assertTrue(content.contains("タイトル2"));
            assertTrue(content.contains("リンク1"));
        }
    
        public void test_getHtml_empty() {
            final InputStream in = new ByteArrayInputStream("".getBytes());
            final String content = htmlXpathExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getXml_empty() {
            final InputStream in = new ByteArrayInputStream("".getBytes());
            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top