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.