[libgdata/libgdata-0-5: 3/8] Bug 598912 — Test data was changed by my mucking around with comments



commit 2b02f8dc70f6a09871a4d4629f39e938ec7a010e
Author: Richard Schwarting <aquarichy gmail com>
Date:   Mon Oct 19 16:56:30 2009 +0100

    Bug 598912 â??  Test data was changed by my mucking around with comments

 gdata/tests/picasaweb.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c
index 20311b4..2fb2ae0 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -210,7 +210,7 @@ test_photo (GDataService *service)
 
 	gdata_picasaweb_file_get_edited (photo, &_time);
 	str = g_time_val_to_iso8601 (&_time);
-	g_assert_cmpstr (str, ==, "2009-07-13T09:48:58.912000Z");
+	g_assert_cmpstr (str, ==, "2009-10-17T08:52:18.885000Z");
 	g_free (str);
 
 	/* tests */
@@ -232,7 +232,7 @@ test_photo (GDataService *service)
 	g_assert_cmpstr (gdata_picasaweb_file_get_video_status (photo), ==, NULL);
 	/* todo: not a good test of video status; want to upload a video for it */
 	g_assert_cmpuint (gdata_picasaweb_file_is_commenting_enabled (photo), ==, TRUE);
-	g_assert_cmpuint (gdata_picasaweb_file_get_comment_count (photo), ==, 1);
+	g_assert_cmpuint (gdata_picasaweb_file_get_comment_count (photo), ==, 2);
 	g_assert_cmpuint (gdata_picasaweb_file_get_rotation (photo), ==, 0);
 
 	g_assert_cmpstr (gdata_picasaweb_file_get_caption (photo), ==, "Ginger cookie caption");
@@ -338,7 +338,7 @@ test_photo_feed_entry (GDataService *service)
 
 	gdata_entry_get_updated (photo_entry, &_time);
 	str = g_time_val_to_iso8601 (&_time);
-	g_assert_cmpstr (str, ==, "2009-07-13T09:48:58.912000Z");
+	g_assert_cmpstr (str, ==, "2009-10-17T08:52:18.885000Z");
 	g_free (str);
 
 	gdata_entry_get_published (photo_entry, &_time);



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