[tracker] functional-tests: class-signal: Allow tweaking of the data of the property
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: class-signal: Allow tweaking of the data of the property
- Date: Wed, 1 Sep 2010 15:17:53 +0000 (UTC)
commit e943c2c3507da3c0686e2a200b3cfce76b40650c
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Aug 20 14:13:47 2010 +0200
functional-tests: class-signal: Allow tweaking of the data of the property
tests/functional-tests/class-signal-test.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/class-signal-test.vala b/tests/functional-tests/class-signal-test.vala
index ab2c687..5865404 100644
--- a/tests/functional-tests/class-signal-test.vala
+++ b/tests/functional-tests/class-signal-test.vala
@@ -20,7 +20,8 @@
using Tracker;
using Tracker.Sparql;
-int max_signals = 1000;
+const int max_signals = 1000;
+const string title_data = "title";
struct Event {
int subject_id;
@@ -149,7 +150,7 @@ public class TestApp {
int i;
for (i = 0; i <= max_signals; i++) {
- string upqry = "DELETE { <%d> a rdfs:Resource } INSERT { <%d> a nmm:MusicPiece ; nie:title 'title %d' }".printf(i, i, i);
+ string upqry = "DELETE { <%d> a rdfs:Resource } INSERT { <%d> a nmm:MusicPiece ; nie:title '%s %d' }".printf(i, i, title_data, i);
resources_object.sparql_update_async (upqry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]