summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-07-10 12:49:35 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-07-10 12:50:31 +0100
commitb63fc7063d6b62c9f4f7ba745c94060546bb06c8 (patch)
treea6bffebe90518939b36ac8d1cbc4de104c8fbbab
parent942b85f82461d3b70c9fcaa95ba389f1ff3beba0 (diff)
downloadlibgdata-b63fc7063d6b62c9f4f7ba745c94060546bb06c8.tar.gz
tests: Mark some unused functions as unused
After porting all of the YouTube tests, the Contacts and PicasaWeb tests need a bit more love to get them working. Because time is short, just mark these ones as __attribute__((unused)), or comment them out, and I will come back to them later. FIXMEs added. https://bugzilla.gnome.org/show_bug.cgi?id=750914
-rw-r--r--gdata/tests/contacts.c4
-rw-r--r--gdata/tests/picasaweb.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdata/tests/contacts.c b/gdata/tests/contacts.c
index 2f8ae8ec..41359420 100644
--- a/gdata/tests/contacts.c
+++ b/gdata/tests/contacts.c
@@ -2172,6 +2172,10 @@ test_photo_delete (TempContactData *data, gconstpointer service)
uhm_server_end_trace (mock_server);
}
+static void
+test_photo_delete_async_cancellation (GDataAsyncTestData *data,
+ gconstpointer service) __attribute__((unused));
+
GDATA_ASYNC_TEST_FUNCTIONS (photo_delete, TempContactData,
G_STMT_START {
g_assert (gdata_contacts_contact_get_photo_etag (data->contact) != NULL);
diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c
index 24d04018..6a9f71e5 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -1704,6 +1704,8 @@ test_upload_default_album (UploadData *data, gconstpointer service)
uhm_server_end_trace (mock_server);
}
+#if 0
+FIXME: Port to v3 API and re-enable.
GDATA_ASYNC_CLOSURE_FUNCTIONS (upload, UploadData);
GDATA_ASYNC_TEST_FUNCTIONS (upload_default_album, UploadData,
@@ -1767,6 +1769,7 @@ G_STMT_START {
g_clear_error (&upload_error);
} G_STMT_END);
+#endif
static void
test_album_new (void)