[tracker/class-signal: 17/39] functional-tests: class-signal: Added some comments



commit 9636842b51f7d0ea9c094d252e7b0b64d0de9ca1
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Aug 19 16:06:28 2010 +0200

    functional-tests: class-signal: Added some comments

 tests/functional-tests/class-signal-test.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/class-signal-test.vala b/tests/functional-tests/class-signal-test.vala
index edecf0c..164dfc0 100644
--- a/tests/functional-tests/class-signal-test.vala
+++ b/tests/functional-tests/class-signal-test.vala
@@ -70,6 +70,11 @@ public class TestApp {
 		initialized = true;
 	}
 
+	// Query looks like this:
+	// SELECT ?t { ?r a nmm:MusicPiece; nie:title ?t .
+	//             FILTER (tracker:id (?r) IN (id1, id2, id3))
+	// }
+
 	private StringBuilder build_title_query (string class_name, Event[] ids) {
 		bool first = true;
 		StringBuilder builder = new StringBuilder ("SELECT ?r ?t { ?r a <");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]