You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (Created) (JIRA)" <ji...@apache.org> on 2011/10/11 22:23:13 UTC

[jira] [Created] (NUTCH-1162) Write JUnit tests for parse-js

Write JUnit tests for parse-js
------------------------------

                 Key: NUTCH-1162
                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
             Project: Nutch
          Issue Type: Sub-task
          Components: parser
    Affects Versions: nutchgora
            Reporter: Lewis John McGibbney
             Fix For: nutchgora


This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1162) Write JUnit tests for parse-js

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457840#comment-13457840 ] 

Lewis John McGibbney commented on NUTCH-1162:
---------------------------------------------

part 2 Committed @revision 1387173 in 2.x
                
> Write JUnit tests for parse-js
> ------------------------------
>
>                 Key: NUTCH-1162
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>              Labels: test
>             Fix For: 2.1
>
>         Attachments: NUTCH-1162.patch
>
>
> This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
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

[jira] [Updated] (NUTCH-1162) Write JUnit tests for parse-js

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated NUTCH-1162:
----------------------------------------

    Attachment: NUTCH-1162.patch

This patch does the following
- adds a test for extracting outlinks from embedded JavaScripts in HTML. The same test for pure JS has been temp disabled as I couldn't find a suitable file!
- re-initiates the TestRTFParser test as this was previously disabled. Additionally a duplicate license was removed from the same file.
- Moves the parse-js package description to the correct directory so it is picked used correctly in the Javadocs.
- Rejig's the actual assertion in the reltag parser test, now we correctly check for the metadata within the buffer array. Thanks Ferdy for the pointer here.

As NONE of this changes core functionality I will commit just now and can revert no problem if there are any objections.  
                
> Write JUnit tests for parse-js
> ------------------------------
>
>                 Key: NUTCH-1162
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>              Labels: test
>             Fix For: 2.1
>
>         Attachments: NUTCH-1162.patch
>
>
> This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
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

[jira] [Resolved] (NUTCH-1162) Write JUnit tests for parse-js

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved NUTCH-1162.
-----------------------------------------

    Resolution: Fixed

Committed @revision 1385103 in 2.x branch.
                
> Write JUnit tests for parse-js
> ------------------------------
>
>                 Key: NUTCH-1162
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>              Labels: test
>             Fix For: 2.1
>
>         Attachments: NUTCH-1162.patch
>
>
> This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
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

[jira] [Updated] (NUTCH-1162) Write JUnit tests for parse-js

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated NUTCH-1162:
----------------------------------------

    Fix Version/s:     (was: nutchgora)
                   2.1

Set and classify
                
> Write JUnit tests for parse-js
> ------------------------------
>
>                 Key: NUTCH-1162
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>              Labels: test
>             Fix For: 2.1
>
>
> This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1162) Write JUnit tests for parse-js

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456537#comment-13456537 ] 

Hudson commented on NUTCH-1162:
-------------------------------

Integrated in Nutch-nutchgora #349 (See [https://builds.apache.org/job/Nutch-nutchgora/349/])
    NUTCH-1162 Write JUnit tests for parse-js (Revision 1385103)

     Result = SUCCESS
lewismc : 
Files : 
* /nutch/branches/2.x/CHANGES.txt
* /nutch/branches/2.x/conf/nutch-default.xml
* /nutch/branches/2.x/src/plugin/build.xml
* /nutch/branches/2.x/src/plugin/microformats-reltag/src/java/org/apache/nutch/microformats/reltag/RelTagParser.java
* /nutch/branches/2.x/src/plugin/microformats-reltag/src/test/org/apache/nutch/microformats/reltag/TestRelTagParser.java
* /nutch/branches/2.x/src/plugin/parse-js/build.xml
* /nutch/branches/2.x/src/plugin/parse-js/sample
* /nutch/branches/2.x/src/plugin/parse-js/src/java/org/apache/nutch/package.html
* /nutch/branches/2.x/src/plugin/parse-js/src/java/org/apache/nutch/parse/js/JSParseFilter.java
* /nutch/branches/2.x/src/plugin/parse-js/src/java/org/apache/nutch/parse/js/package.html
* /nutch/branches/2.x/src/plugin/parse-js/src/test
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org/apache
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org/apache/nutch
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org/apache/nutch/parse
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org/apache/nutch/parse/js
* /nutch/branches/2.x/src/plugin/parse-js/src/test/org/apache/nutch/parse/js/TestJSParseFilter.java
* /nutch/branches/2.x/src/plugin/parse-tika/src/test/org/apache/nutch/parse/tika/TestRTFParser.java

                
> Write JUnit tests for parse-js
> ------------------------------
>
>                 Key: NUTCH-1162
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1162
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: parser
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>              Labels: test
>             Fix For: 2.1
>
>         Attachments: NUTCH-1162.patch
>
>
> This issue should provide a single Junit test as part of an effort to provide JUnit tests for all nutchgora plugins

--
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