[tracker] Comment out extractor tests that require testdata.



commit 9451800f6f43bd515eb2565a20d70d1c8dc6af83
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Wed Apr 22 10:33:42 2009 +0300

    Comment out extractor tests that require testdata.
    
    The test cases for extraction that require generation of test data are
    commented out so they won't fail in automated checking.
---
 .../tracker-extract-gstreamer-test.c               |    2 +-
 tests/tracker-extract/tracker-extract-jpeg-test.c  |    2 +-
 tests/tracker-extract/tracker-extract-mp3-test.c   |    4 ++++
 tests/tracker-extract/tracker-extract-tiff-test.c  |    2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/tests/tracker-extract/tracker-extract-gstreamer-test.c b/tests/tracker-extract/tracker-extract-gstreamer-test.c
index 974800c..9851fe1 100644
--- a/tests/tracker-extract/tracker-extract-gstreamer-test.c
+++ b/tests/tracker-extract/tracker-extract-gstreamer-test.c
@@ -50,7 +50,7 @@ main (int argc, char **argv) {
 	g_test_add_data_func ("/tracker-extract/tracker-extract-gstreamer/check-extract-data",
 			      data, test_tracker_extract_check_extract_data);
 	
-#if 1
+#if 0
 	g_test_add_data_func ("/tracker-extract/tracker-extract-gstreamer/mp3/id3v1_basic",
 			      data, test_tracker_extract_mp3_id3v1_basic);
 	g_test_add_data_func ("/tracker-extract/tracker-extract-gstreamer/mp3/id3v23_basic",
diff --git a/tests/tracker-extract/tracker-extract-jpeg-test.c b/tests/tracker-extract/tracker-extract-jpeg-test.c
index 7561a41..d9a076e 100644
--- a/tests/tracker-extract/tracker-extract-jpeg-test.c
+++ b/tests/tracker-extract/tracker-extract-jpeg-test.c
@@ -49,7 +49,7 @@ main (int argc, char **argv) {
 	g_test_add_data_func ("/tracker-extract/tracker-extract-jpeg/check-extract-data",
 			      data, test_tracker_extract_check_extract_data);
 	
-#if 1
+#if 0
 	g_test_add_data_func ("/tracker-extract/tracker-extract-jpeg/basic_size",
 			      data, test_tracker_extract_jpeg_basic_size);
 
diff --git a/tests/tracker-extract/tracker-extract-mp3-test.c b/tests/tracker-extract/tracker-extract-mp3-test.c
index ef54562..4a3ffe3 100644
--- a/tests/tracker-extract/tracker-extract-mp3-test.c
+++ b/tests/tracker-extract/tracker-extract-mp3-test.c
@@ -53,6 +53,8 @@ main (int argc, char **argv) {
 	g_test_add_data_func ("/tracker-extract/tracker-extract-mp3/access",
 			      data, test_tracker_extract_mp3_access);	
 
+#if 0
+
 	g_test_add_data_func ("/tracker-extract/tracker-extract-mp3/id3v1_basic",
 			      data, test_tracker_extract_mp3_id3v1_basic);
 	g_test_add_data_func ("/tracker-extract/tracker-extract-mp3/id3v23_basic",
@@ -72,6 +74,8 @@ main (int argc, char **argv) {
 				      data, test_tracker_extract_mp3_performance);	
 	}
 
+#endif
+
 	result = g_test_run ();
 
 	return result;
diff --git a/tests/tracker-extract/tracker-extract-tiff-test.c b/tests/tracker-extract/tracker-extract-tiff-test.c
index 0855762..213bae7 100644
--- a/tests/tracker-extract/tracker-extract-tiff-test.c
+++ b/tests/tracker-extract/tracker-extract-tiff-test.c
@@ -49,7 +49,7 @@ main (int argc, char **argv) {
 	g_test_add_data_func ("/tracker-extract/tracker-extract-tiff/check-extract-data",
 			      data, test_tracker_extract_check_extract_data);
 	
-#if 1
+#if 0
 	g_test_add_data_func ("/tracker-extract/tracker-extract-tiff/basic_size",
 			      data, test_tracker_extract_tiff_basic_size);
 



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