You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Tejas Patil (JIRA)" <ji...@apache.org> on 2012/12/23 21:34:12 UTC

[jira] [Updated] (NUTCH-1119) JUnit test for index-static

     [ https://issues.apache.org/jira/browse/NUTCH-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tejas Patil updated NUTCH-1119:
-------------------------------

    Attachment: NUTCH-1119.patch

Wrote a test case which checks following:
1. static data fields are added to a document
2. empty "index.static" does not add anything to the document
3. valid field:value pairs are added to the document
4. fields and values are trimmed before adding to the document

Attached the patch. Please let me know your comments.
                
> JUnit test for index-static
> ---------------------------
>
>                 Key: NUTCH-1119
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1119
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 1.4
>            Reporter: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 1.7
>
>         Attachments: NUTCH-1119.patch
>
>
> This issue is part of the larger attempt to provide a Junit test case for every Nutch plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira