Revision e5cb086b
Added by Andreas Müller over 2 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/media/MediaInfoFactoryTest.java | ||
---|---|---|
77 | 77 |
// multiple values for XResolution concatenated |
78 | 78 |
assertEquals("300; 72", cdmImageInfo.getMetaData().get("XResolution")); |
79 | 79 |
} |
80 |
|
|
81 | 80 |
} |
82 | 81 |
|
83 |
|
|
84 | 82 |
@Test |
85 | 83 |
public void readMediaInfoViaServiceReaderIIIF_API() throws IOException, HttpException, URISyntaxException { |
86 | 84 |
assertEquals(1, ((MediaInfoFactory)mediaInfoFactory).applyURITransformations(transformableURI_IIIF_API).size()); |
... | ... | |
106 | 104 |
assertEquals("23.8.2009", cdmImageInfo.getMetaData().get("Date")); |
107 | 105 |
assertEquals("N. Kilian", cdmImageInfo.getMetaData().get("Photographer")); |
108 | 106 |
} |
109 |
|
|
110 | 107 |
} |
111 | 108 |
|
112 | 109 |
@Override |
113 | 110 |
public void createTestDataSet() throws FileNotFoundException { |
114 | 111 |
// not needed |
115 | 112 |
} |
116 |
|
|
117 |
} |
|
113 |
} |
Also available in: Unified diff
minor