[tracker/drop-inotify: 5/24] libtracker-miner tests: Added helper logs in monitor tester
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/drop-inotify: 5/24] libtracker-miner tests: Added helper logs in monitor tester
- Date: Thu, 8 Jul 2010 09:14:31 +0000 (UTC)
commit 268aa2e2588a38372f5884c549cc164e914ac6ff
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]