[tracker] functional-test: Add GIF with XMP metadata
- From: Ivan Frade <ifrade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-test: Add GIF with XMP metadata
- Date: Thu, 23 Sep 2010 17:00:05 +0000 (UTC)
commit f2d78c437e74dec729c4d4b2ec82e4e221b18e6f
Author: Ivan Frade <ivan frade nokia com>
Date: Thu Sep 23 19:55:13 2010 +0300
functional-test: Add GIF with XMP metadata
.../test-extraction-data/images/Makefile.am | 18 +++++++++------
.../images/xmp-loaded-1.expected | 23 ++++++++++++++++++++
.../test-extraction-data/images/xmp-loaded-1.gif | Bin 0 -> 5671 bytes
3 files changed, 34 insertions(+), 7 deletions(-)
---
diff --git a/tests/functional-tests/test-extraction-data/images/Makefile.am b/tests/functional-tests/test-extraction-data/images/Makefile.am
index 17da26a..478db60 100644
--- a/tests/functional-tests/test-extraction-data/images/Makefile.am
+++ b/tests/functional-tests/test-extraction-data/images/Makefile.am
@@ -2,12 +2,16 @@ include $(top_srcdir)/Makefile.decl
imagestestdir = $(datadir)/tracker-tests/test-extraction-data/images
-imagestest_DATA = \
- test-image-1.jpg \
- test-image-1.expected \
- test-image-2.png \
- test-image-2.expected \
- test-image-3.tif \
- test-image-3.expected
+imagestest_DATA = \
+ test-image-1.jpg \
+ test-image-1.expected \
+ test-image-2.png \
+ test-image-2.expected \
+ test-image-3.tif \
+ test-image-3.expected \
+ xml-loaded-1.gif \
+ xmp-loaded-1.expected \
+ corrupted-image.gif \
+ corrupted-image.expected
EXTRA_DIST = $(imagestest_DATA)
diff --git a/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.expected b/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.expected
new file mode 100644
index 0000000..f619701
--- /dev/null
+++ b/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.expected
@@ -0,0 +1,23 @@
+[TestFile]
+Filename=xmp-loaded-1.gif
+Bugzilla=
+Comment=GIF with XMP metadata (injected with exiftool)
+
+[Metadata]
+a=nfo:Image
+a=nmm:Photo
+nie_description=Test file for the tracker XMP extraction
+nie_title=A random GIF
+nao_hasTag_prefLabel=Cool
+nao_hasTag_prefLabel=favourite
+nao_hasTag_prefLabel=nice
+dc_identifier=test-file-01-world-domination-path
+dc_source=http://www.fotonatura.org/revista/articulos/293/3/
+dc_language=es_ES
+dc_coverage=from Helsinki all around the world
+nfo_width=165
+nfo_height=66
+
+[Meego]
+nfo_height=144
+nfo_width=192
diff --git a/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.gif b/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.gif
new file mode 100644
index 0000000..3ce2ef7
Binary files /dev/null and b/tests/functional-tests/test-extraction-data/images/xmp-loaded-1.gif differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]