Sebastian Nagel created NUTCH-2410:
--------------------------------------
Summary: Unit test for jsoup-extractor not to depend on external
resources
Key: NUTCH-2410
URL: https://issues.apache.org/jira/browse/NUTCH-2410
Project: Nutch
Issue Type: Test
Affects Versions: 2.4
Reporter: Sebastian Nagel
Priority: Minor
Fix For: 2.4
The unit test of the plugin jsoup-extractor depends on a document hosted on
youtube.com:
{code:java}
private static final String SAMPLE_URL =
"https://www.youtube.com/watch?v=pzMpwW4ppRM";
{code}
It's nice to test the plugin on real-world example. However, the tests will
fail without internet connection or unexpectedly when youtube changes the HTML
layout.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)