You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/18 02:57:50 UTC

[jira] Created: (TIKA-78) AutoDetectParserTest should include tests for bad MIME types and resource names.

AutoDetectParserTest should include tests for bad MIME types and resource names.
--------------------------------------------------------------------------------

                 Key: TIKA-78
                 URL: https://issues.apache.org/jira/browse/TIKA-78
             Project: Tika
          Issue Type: Improvement
          Components: general
    Affects Versions: 0.1-incubator
            Reporter: Keith R. Bennett
             Fix For: 0.1-incubator


We need to test that the MIME type is correctly determined even if the MIME type hint is wrong or null, or if the resource name is wrong (has the wrong extension) or null.

Currently only the correct MIME types and resource names are used in the tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TIKA-78) AutoDetectParserTest should include tests for bad MIME types and resource names.

Posted by "Keith R. Bennett (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett reassigned TIKA-78:
------------------------------------

    Assignee: Keith R. Bennett

> AutoDetectParserTest should include tests for bad MIME types and resource names.
> --------------------------------------------------------------------------------
>
>                 Key: TIKA-78
>                 URL: https://issues.apache.org/jira/browse/TIKA-78
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>             Fix For: 0.1-incubator
>
>
> We need to test that the MIME type is correctly determined even if the MIME type hint is wrong or null, or if the resource name is wrong (has the wrong extension) or null.
> Currently only the correct MIME types and resource names are used in the tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-78) AutoDetectParserTest should include tests for bad MIME types and resource names.

Posted by "Keith R. Bennett (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536241 ] 

Keith R. Bennett commented on TIKA-78:
--------------------------------------

More comprehensive testing was added, but some of it had to be commented out because detection is not yet working completely.

> AutoDetectParserTest should include tests for bad MIME types and resource names.
> --------------------------------------------------------------------------------
>
>                 Key: TIKA-78
>                 URL: https://issues.apache.org/jira/browse/TIKA-78
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>             Fix For: 0.1-incubator
>
>
> We need to test that the MIME type is correctly determined even if the MIME type hint is wrong or null, or if the resource name is wrong (has the wrong extension) or null.
> Currently only the correct MIME types and resource names are used in the tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TIKA-78) AutoDetectParserTest should include tests for bad MIME types and resource names.

Posted by "Keith R. Bennett (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett resolved TIKA-78.
----------------------------------

    Resolution: Fixed

Changes were made to AutoDetectParserTest.

> AutoDetectParserTest should include tests for bad MIME types and resource names.
> --------------------------------------------------------------------------------
>
>                 Key: TIKA-78
>                 URL: https://issues.apache.org/jira/browse/TIKA-78
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>             Fix For: 0.1-incubator
>
>
> We need to test that the MIME type is correctly determined even if the MIME type hint is wrong or null, or if the resource name is wrong (has the wrong extension) or null.
> Currently only the correct MIME types and resource names are used in the tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.