[tracker/drop-inotify] libtracker-miner tests: Added helper logs in monitor tester



commit c67208262f1bedf659186d1a3151a3c4b838f1ba
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 29 16:52:37 2010 +0200

    libtracker-miner tests: Added helper logs in monitor tester

 tests/libtracker-miner/tracker-monitor-test.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-miner/tracker-monitor-test.c b/tests/libtracker-miner/tracker-monitor-test.c
index 2486a17..021bdcb 100644
--- a/tests/libtracker-miner/tracker-monitor-test.c
+++ b/tests/libtracker-miner/tracker-monitor-test.c
@@ -175,26 +175,32 @@ test_monitor_file_events (void)
 	g_assert_cmpint (tracker_monitor_get_count (monitor), ==, 1);
 
 	/* Test CREATED */
+	g_debug (">> Testing CREATE");
 	create_file (path_for_events, "foo");
 	events_wait ();
 
 	/* Test UPDATE */
+	g_debug (">> Testing UPDATE");
 	create_file (path_for_events, "bar");
 	events_wait ();
 
 	/* Test MOVE to (monitored dir) */
+	g_debug (">> Testing MOVE to monitored dir");
 	g_assert_cmpint (g_rename (path_for_events, path_for_move_in), ==, 0);
 	events_wait ();
 
 	/* Test MOVE back (monitored dir) */
+	g_debug (">> Testing MOVE from monitored dir");
 	g_assert_cmpint (g_rename (path_for_move_in, path_for_events), ==, 0);
 	events_wait ();
 
 	/* Test MOVE to (not monitored dir) */
+	g_debug (">> Testing MOVE to NOT monitored dir");
 	g_assert_cmpint (g_rename (path_for_events, path_for_move_out), ==, 0);
 	events_wait ();
 
 	/* Test MOVE back (not monitored dir) */
+	g_debug (">> Testing MOVE from NOT monitored dir");
 	g_assert_cmpint (g_rename (path_for_move_out, path_for_events), ==, 0);
 	events_wait ();
 



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