diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2018-06-19 07:07:18 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2018-06-19 07:07:18 +0200 |
| commit | 2c155ece776f6b66cbe90bfe583a43d54f068786 (patch) | |
| tree | 01761fb35c2003d21a8bb8bdbb7c365fcbb73385 /test | |
| parent | e0dc63202034266fc8442e9a52814155c7589d32 (diff) | |
Fixed JUnit test after removal of unused Transformer
Diffstat (limited to 'test')
| -rw-r--r-- | test/java/net/yacy/document/parser/html/ContentScraperTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/java/net/yacy/document/parser/html/ContentScraperTest.java b/test/java/net/yacy/document/parser/html/ContentScraperTest.java index b430f58f3..236824fa1 100644 --- a/test/java/net/yacy/document/parser/html/ContentScraperTest.java +++ b/test/java/net/yacy/document/parser/html/ContentScraperTest.java @@ -150,7 +150,7 @@ public class ContentScraperTest { + "</body></html>"; ContentScraper scraper = new ContentScraper(root, 10, new HashSet<String>(), new VocabularyScraper(), 0); - final Writer writer = new TransformerWriter(null, null, scraper, null, false); + final Writer writer = new TransformerWriter(null, null, scraper, false); FileUtils.copy(new StringReader(page), writer); writer.close(); @@ -401,7 +401,7 @@ public class ContentScraperTest { for (final Entry<String, String[]> html2Result : html2Results.entrySet()) { ContentScraper scraper = new ContentScraper(docUrl, 10, new HashSet<String>(), new VocabularyScraper(), 0); - try (final Writer writer = new TransformerWriter(null, null, scraper, null, false)) { + try (final Writer writer = new TransformerWriter(null, null, scraper, false)) { FileUtils.copy(new StringReader(html2Result.getKey()), writer); final Set<DigestURL> expected = new HashSet<>(); |
