[tracker/rss-enclosures] Include GB#633118 file in the automated extraction tests



commit 9af0c49eb091d4b04aff6146b617a0ba10ef3b58
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Nov 2 13:38:38 2010 +0200

    Include GB#633118 file in the automated extraction tests

 .../test-extraction-data/images/Makefile.am        |    4 +++-
 .../images/comment-extension-block.expected        |   13 +++++++++++++
 .../images/comment-extension-block.gif             |  Bin 0 -> 164489 bytes
 3 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/test-extraction-data/images/Makefile.am b/tests/functional-tests/test-extraction-data/images/Makefile.am
index 65df57b..2d302b2 100644
--- a/tests/functional-tests/test-extraction-data/images/Makefile.am
+++ b/tests/functional-tests/test-extraction-data/images/Makefile.am
@@ -11,7 +11,9 @@ imagestest_DATA =                                      \
 	test-image-3.expected                          \
 	xmp-loaded-1.gif                               \
 	xmp-loaded-1.expected                          \
-	corrupted-image.gif                            \
+	comment-extension-block.expected	       \
+	comment-extension-block.gif		       \
+	corrupted-image.gif                    	       \
 	corrupted-image.expected
 
 EXTRA_DIST = $(imagestest_DATA)
diff --git a/tests/functional-tests/test-extraction-data/images/comment-extension-block.expected b/tests/functional-tests/test-extraction-data/images/comment-extension-block.expected
new file mode 100644
index 0000000..906022c
--- /dev/null
+++ b/tests/functional-tests/test-extraction-data/images/comment-extension-block.expected
@@ -0,0 +1,13 @@
+[TestFile]
+Filename=comment-extension-block.gif
+Bugzilla=GB#633118
+Comment=In GIF comments can come in a special block that needs to be handled manually
+
+[Metadata]
+a=nfo:Image 
+a=nmm:Photo
+nfo_width=600
+nfo_height=450
+nie_comment=GIF image format only supports comments in 7-bit ASCII encoding!
+
+[Meego]
diff --git a/tests/functional-tests/test-extraction-data/images/comment-extension-block.gif b/tests/functional-tests/test-extraction-data/images/comment-extension-block.gif
new file mode 100644
index 0000000..6bb41f8
Binary files /dev/null and b/tests/functional-tests/test-extraction-data/images/comment-extension-block.gif differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]