[folks] tests: Improve debug output from the EDS test utilities



commit 70327ca30815038f5736e10f8d731fdc0fa171d7
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Jun 17 17:18:04 2015 +0100

    tests: Improve debug output from the EDS test utilities

 tests/lib/eds/backend.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/lib/eds/backend.vala b/tests/lib/eds/backend.vala
index 2d4fae0..b907f20 100644
--- a/tests/lib/eds/backend.vala
+++ b/tests/lib/eds/backend.vala
@@ -360,13 +360,15 @@ public class EdsTest.Backend
         {
           if (this._source_file != null)
             {
+              debug ("Deleting address book ‘%s’ source file ‘%s’.",
+                  this._addressbook_name, this._source_file.get_path ());
               this._source_file.delete ();
             }
         }
       catch (GLib.Error e)
         {
-          GLib.warning ("Unable to remove addressbook ‘%s’: %s",
-              this._addressbook_name, e.message);
+          GLib.error ("Unable to remove address book ‘%s’ source file ‘%s’: %s",
+              this._addressbook_name, this._source_file.get_path (), e.message);
         }
       finally
         {


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