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

Bob Paulin updated TIKA-1501:
-----------------------------
    Attachment: TIKA-1501.patch

The test now pass with the attached patch.  The attached patch assumes 
TIKA-1551 has already been applied.  I changed the test in testBundleDetectors 
to pull the DefaultParser from the bundle context which is how it would be 
accessed for any app in the OSGi Container.  This should ensure that the 
service that would be used in OSGi will have the Detectors.  I removed the 
individual checks for specific classes because it did not make sense.  Perhaps 
if we could just check the number of Detectors that would be a better check.  
Let me know what you think. 

> Fix the disabled Tika Bundle OSGi related unit tests
> ----------------------------------------------------
>
>                 Key: TIKA-1501
>                 URL: https://issues.apache.org/jira/browse/TIKA-1501
>             Project: Tika
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 1.6, 1.7
>            Reporter: Nick Burch
>         Attachments: TIKA-1501.patch
>
>
> Currently, the unit tests for the Tika Bundle contain several bits like:
> {code}
> @Ignore // TODO Fix this test
> {code}
> We should really fix these unit tests so they work, and re-enable them



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

Reply via email to