mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Upgraded OpenDocumentMetadataExtracter to new infrastructure.
Added more OpenDocument test documents. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -86,9 +86,16 @@ public abstract class AbstractMetadataExtracterTest extends TestCase
|
||||
|
||||
protected void testExtractFromMimetype(String mimetype) throws Exception
|
||||
{
|
||||
Map<QName, Serializable> properties = extractFromMimetype(mimetype);
|
||||
// check
|
||||
testCommonMetadata(mimetype, properties);
|
||||
try
|
||||
{
|
||||
Map<QName, Serializable> properties = extractFromMimetype(mimetype);
|
||||
// check
|
||||
testCommonMetadata(mimetype, properties);
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
// The test file is not there. We won't fail it.
|
||||
}
|
||||
}
|
||||
|
||||
protected Map<QName, Serializable> extractFromMimetype(String mimetype) throws Exception
|
||||
|
Reference in New Issue
Block a user