[tracker/dbus-fd-experiment-gio: 19/41] Add test for Steroids/BatchSparqlUpdate
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment-gio: 19/41] Add test for Steroids/BatchSparqlUpdate
- Date: Thu, 10 Jun 2010 22:53:49 +0000 (UTC)
commit e124623ae07047a3fec65f990bffa39e434e45ff
Author: Adrien Bustany <abustany gnome org>
Date: Thu Jun 3 13:25:03 2010 -0400
Add test for Steroids/BatchSparqlUpdate
tests/tracker-steroids/tracker-test.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tests/tracker-steroids/tracker-test.c b/tests/tracker-steroids/tracker-test.c
index 11f18dd..927bd72 100644
--- a/tests/tracker-steroids/tracker-test.c
+++ b/tests/tracker-steroids/tracker-test.c
@@ -404,6 +404,19 @@ test_tracker_sparql_update_blank_fast_no_blanks ()
return;
}
+static void
+test_tracker_batch_sparql_update_fast ()
+{
+ GError *error = NULL;
+ const gchar *query = "INSERT { _:x a nmo:Message }";
+
+ tracker_resources_batch_sparql_update_fast (client, query, &error);
+
+ g_assert (!error);
+
+ return;
+}
+
gint
main (gint argc, gchar **argv)
{
@@ -426,6 +439,7 @@ main (gint argc, gchar **argv)
g_test_add_func ("/steroids/tracker/tracker_sparql_update_blank_fast_large", test_tracker_sparql_update_blank_fast_large);
g_test_add_func ("/steroids/tracker/tracker_sparql_update_blank_fast_error", test_tracker_sparql_update_blank_fast_error);
g_test_add_func ("/steroids/tracker/tracker_sparql_update_blank_fast_no_blanks", test_tracker_sparql_update_blank_fast_no_blanks);
+ g_test_add_func ("/steroids/tracker/tracker_batch_sparql_update_fast", test_tracker_batch_sparql_update_fast);
/* client is leaked */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]