[tracker/miner-fs-multi-insert: 11/17] tests/tracker-steroids: multi-insert: Fixes for the unit test
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-multi-insert: 11/17] tests/tracker-steroids: multi-insert: Fixes for the unit test
- Date: Thu, 14 Oct 2010 14:02:14 +0000 (UTC)
commit cc4b05bec1c038a88dbd3dc79dd08ee2ff3144f4
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Oct 7 14:38:33 2010 +0200
tests/tracker-steroids: multi-insert: Fixes for the unit test
tests/tracker-steroids/tracker-test.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/tests/tracker-steroids/tracker-test.c b/tests/tracker-steroids/tracker-test.c
index 14dd472..1d15a48 100644
--- a/tests/tracker-steroids/tracker-test.c
+++ b/tests/tracker-steroids/tracker-test.c
@@ -38,11 +38,11 @@ insert_test_data ()
{
GError *error = NULL;
const char *delete_query = "DELETE { "
- "<urn:testdata1> a rdfs:Resource ."
- "<urn:testdata2> a rdfs:Resource ."
- "<urn:testdata3> a rdfs:Resource ."
- "<urn:testdata4> a rdfs:Resource ."
- "}";
+ "<urn:testdata1> a rdfs:Resource ."
+ "<urn:testdata2> a rdfs:Resource ."
+ "<urn:testdata3> a rdfs:Resource ."
+ "<urn:testdata4> a rdfs:Resource ."
+ "}";
char *longName = g_malloc (LONG_NAME_SIZE);
char *filled_query;
@@ -337,8 +337,9 @@ test_tracker_sparql_update_array_async ()
data = g_slice_new (AsyncData);
data->main_loop = main_loop;
+ /* Cast here is because vala doesn't make const-char-** possible :( */
tracker_sparql_connection_update_array_async (connection,
- queries, 6,
+ (char**) queries, 6,
0, NULL,
async_update_array_callback,
data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]