[libgdata] [picasaweb] Test suite fixes
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgdata] [picasaweb] Test suite fixes
- Date: Mon, 20 Jul 2009 18:41:22 +0000 (UTC)
commit 28676603a8aec0167662448702d8c9699ba5bc74
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Jul 20 19:40:50 2009 +0100
[picasaweb] Test suite fixes
Someone went and edited the photos online! They destroyed my test cases!
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 1542cdf..f5c1bc9 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -128,7 +128,7 @@ test_upload_simple (GDataService *service)
"<title type='text'>Photo Entry Title</title>"
"<summary type='text'>Photo Summary</summary>"
"<category term='http://schemas.google.com/photos/2007#photo' scheme='http://schemas.google.com/g/2005#kind'/>"
- "<gphoto:position>0.000000</gphoto:position>"
+ "<gphoto:position>0</gphoto:position>"
"<gphoto:commentingEnabled>true</gphoto:commentingEnabled>"
"<media:group>"
"<media:title type='plain'>Photo Entry Title</media:title>"
@@ -194,7 +194,7 @@ test_photo (GDataService *service)
gdata_picasaweb_file_get_edited (photo, &_time);
str = g_time_val_to_iso8601 (&_time);
- g_assert_cmpstr (str, ==, "2009-04-26T06:57:03.474000Z");
+ g_assert_cmpstr (str, ==, "2009-07-13T09:48:58.912000Z");
g_free (str);
/* tests */
@@ -290,7 +290,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-04-26T06:57:03.474000Z");
+ g_assert_cmpstr (str, ==, "2009-07-13T09:48:58.912000Z");
g_free (str);
gdata_entry_get_published (photo_entry, &_time);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]