[tracker/tracker-0.10] functional-tests: Improved output, add amount of contacts added



commit 1bf708ef0b110764da8db9dcbafd65c8313997bc
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Mar 15 12:35:32 2011 +0100

    functional-tests: Improved output, add amount of contacts added

 .../ipc/test-insert-or-replace.vala                |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/functional-tests/ipc/test-insert-or-replace.vala b/tests/functional-tests/ipc/test-insert-or-replace.vala
index 097cb27..554c8d3 100644
--- a/tests/functional-tests/ipc/test-insert-or-replace.vala
+++ b/tests/functional-tests/ipc/test-insert-or-replace.vala
@@ -142,7 +142,7 @@ INSERT { GRAPH <urn:uuid:08070f5c-a334-4d19-a8b0-12a3071bfab9> {
 int
 main( string[] args )
 {
-	uint i, y = 100;
+	uint i, y = 1000;
 	Timer t1 = new Timer ();
 	Timer t2 = new Timer ();
 	Connection c;
@@ -154,7 +154,7 @@ main( string[] args )
 	}
 	t1.stop ();
 
-	print ("REPLACE: %f\n", t1.elapsed());
+	print ("REPLACE: %u contacts: %f\n", y, t1.elapsed());
 
 
 	t2.start ();
@@ -163,7 +163,7 @@ main( string[] args )
 	}
 	t2.stop ();
 
-	print ("ORIGINAL: %f\n", t2.elapsed());
+	print ("ORIGINAL: %u contacts: %f\n", y, t2.elapsed());
 
 	return 0;
 }



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