You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2014/02/01 17:50:11 UTC
[jira] [Comment Edited] (NUTCH-1645) Junit Test Case for Adaptive
Fetch Schedule class
[ https://issues.apache.org/jira/browse/NUTCH-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888245#comment-13888245 ]
Sebastian Nagel edited comment on NUTCH-1645 at 2/1/14 4:49 PM:
----------------------------------------------------------------
Thanks, [~msertacturkel]! Looks good now. I couldn't resist :) to move {{p.setFetchInterval(interval)}} from testValues/validateFetchInterval, see attached patch v5. It's more transparent to change the state of WebPage p in the main test function, instead of doing that in (only) one branch (changed == STATUS_MODIFIED) of an auxiliary function.
was (Author: wastl-nagel):
Thanks, [~msertacturkel]! Looks good now. I couldn't resist to move {{p.setFetchInterval(interval)}} from testValues/validateFetchInterval, see attached patch v5.
> Junit Test Case for Adaptive Fetch Schedule class
> -------------------------------------------------
>
> Key: NUTCH-1645
> URL: https://issues.apache.org/jira/browse/NUTCH-1645
> Project: Nutch
> Issue Type: Test
> Affects Versions: 2.2.1
> Reporter: Talat UYARER
> Priority: Minor
> Fix For: 2.3
>
> Attachments: NUTCH-1645-v2.patch, NUTCH-1645-v3.patch, NUTCH-1645-v4.patch, NUTCH-1645-v5.patch, NUTCH-1645.patch
>
>
> Currently there is not Test Case for Adaptive Fetch Schedule. Junit test Writes for its.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)