[libgdata] documents: Don't fail the batch tests if cleaning up fails
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] documents: Don't fail the batch tests if cleaning up fails
- Date: Thu, 9 Dec 2010 15:27:57 +0000 (UTC)
commit 35b6599dff2d54e3ddc05ce43f75b87a8ef8c04c
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Dec 9 14:22:09 2010 +0000
documents: Don't fail the batch tests if cleaning up fails
gdata/tests/documents.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index 021ecf0..30cf762 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -1177,10 +1177,8 @@ teardown_batch_async (BatchAsyncData *data, gconstpointer service)
g_assert_no_error (error);
g_clear_error (&error);
- /* Delete the document */
- g_assert (gdata_service_delete_entry (GDATA_SERVICE (service), document, NULL, &error) == TRUE);
- g_assert_no_error (error);
- g_clear_error (&error);
+ /* Delete the document (we don't care if this fails) */
+ gdata_service_delete_entry (GDATA_SERVICE (service), document, NULL, NULL);
g_object_unref (data->new_doc);
g_object_unref (document);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]