Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

100990: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      100834: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         100784: Merged DEV to V4.2-BUG-FIX (4.2.5)
            100732: MNT-13655 : Just first keyword of the IPTC keywords list is extracted as metadata and put into description field of an image
               - Added special way for handling multi-valued meta-data properties retrieved from parser.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@101005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-04-01 01:27:45 +00:00
parent fd90fbf2a7
commit f70dc05311
2 changed files with 34 additions and 7 deletions

View File

@@ -259,7 +259,7 @@ public void testImageVideo() throws Throwable {
assertEquals("8 bits", p.get("Data Precision"));
// Check regular Tika properties
assertEquals(QUICK_TITLE, p.get(Metadata.COMMENT));
assertEquals("canon-55-250", p.get(Metadata.SUBJECT));
assertEquals("canon-55-250, moscow-birds, serbor", p.get(Metadata.SUBJECT));
// Check namespace'd Tika properties
assertEquals("12.54321", p.get("geo:lat"));
assertEquals("-54.1234", p.get("geo:long"));