Antriksh Saxena created TIKA-1873:
-------------------------------------

             Summary: Test Cases failed when tika-mimetypes.xml is changed
                 Key: TIKA-1873
                 URL: https://issues.apache.org/jira/browse/TIKA-1873
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.13
            Reporter: Antriksh Saxena


The test cases were failing when tika was built after updating the 
tika-mimetypes.xml. The failure logs are as follows.

{code}
TestContainerAwareDetector.testTruncatedFiles:395 
expected:<application/x-tika-msoffice> but was:<application/msword>

  TestMimeTypes.testOLE2Detection:138->assertTypeByData:1045 
expected:<application/[x-tika-msoffice]> but was:<application/[msword]>

  TestMimeTypes.testOldExcel:251->assertTypeByData:1045 
expected:<application/[x-tika-msoffice]> but was:<application/[msword]>

  TestMimeTypes.testVisioDetection:305->assertTypeByNameAndData:1071 
expected:<application/[vnd.visio]> but was:<application/[msword]>

  ExcelParserTest.testExcel95:320 expected:<application/[vnd.ms-excel]> but 
was:<application/[msword]>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to