[libgdata/libgdata-0-7] picasaweb: Update test URIs
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-7] picasaweb: Update test URIs
- Date: Fri, 10 Dec 2010 22:40:27 +0000 (UTC)
commit b5f4fdeaf1d3872527f11d9cd229a5ea721937fb
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Dec 10 11:54:43 2010 +0000
picasaweb: Update test URIs
It appears that the test account on PicasaWeb has been moved to a different
server, so we need to update a few URIs in the tests accordingly.
gdata/tests/picasaweb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c
index cfd4080..7b36262 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -1021,7 +1021,7 @@ test_album_feed (gconstpointer service)
/* TODO find out why subtitle == null when returned: no subtitle for feed? printf("feed subtitle: %s\n", gdata_feed_get_subtitle(feed)); */
g_assert_cmpstr (gdata_feed_get_id (album_feed), ==, "http://picasaweb.google.com/data/feed/user/libgdata.picasaweb");
g_assert_cmpstr (gdata_feed_get_etag (album_feed), !=, NULL); /* this varies as albums change, like when a new image is uploaded in our test! */
- g_assert_cmpstr (gdata_feed_get_icon (album_feed), ==, "http://lh6.ggpht.com/_1kdcGyvOb8c/AAAA9mDag3s/AAAAAAAAAAA/Jq-NWYWKFao/s64-c/libgdata.picasaweb.jpg");
+ g_assert_cmpstr (gdata_feed_get_icon (album_feed), ==, "http://lh3.ggpht.com/_1kdcGyvOb8c/AAAAAAAAAAA/AAAAAAAAAAA/jNhBfdaNdD4/s64-c/libgdata.picasaweb.jpg");
g_assert_cmpuint (gdata_feed_get_items_per_page (album_feed), ==, 1000);
g_assert_cmpuint (gdata_feed_get_start_index (album_feed), ==, 1);
g_assert_cmpuint (gdata_feed_get_total_results (album_feed), ==, NUM_ALBUMS);
@@ -1137,7 +1137,7 @@ test_query_user (gconstpointer service)
g_assert_cmpint (gdata_picasaweb_user_get_quota_limit (user), ==, 1073741824); /* 1GiB: it'll be a beautiful day when this assert gets tripped */
g_assert_cmpint (gdata_picasaweb_user_get_quota_current (user), >, 0);
g_assert_cmpint (gdata_picasaweb_user_get_max_photos_per_album (user), >, 0); /* now it's 1000, testing this weakly to avoid having to regularly update it */
- g_assert_cmpstr (gdata_picasaweb_user_get_thumbnail_uri (user), ==, "http://lh6.ggpht.com/_1kdcGyvOb8c/AAAA9mDag3s/AAAAAAAAAAA/Jq-NWYWKFao/s64-c/libgdata.picasaweb.jpg");
+ g_assert_cmpstr (gdata_picasaweb_user_get_thumbnail_uri (user), ==, "http://lh3.ggpht.com/_1kdcGyvOb8c/AAAAAAAAAAA/AAAAAAAAAAA/jNhBfdaNdD4/s64-c/libgdata.picasaweb.jpg");
g_object_unref (user);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]