[folks] Cut unnecessary log handler for key-file test.



commit 38672fd3e8c8001099a4d1451a16f26ab71337ab
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Mon Jan 10 16:10:41 2011 -0800

    Cut unnecessary log handler for key-file test.
    
    Helps bgo#639195 - Print stack traces for failed tests to improve
    remote debugging

 tests/key-file/individual-retrieval.vala |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/tests/key-file/individual-retrieval.vala b/tests/key-file/individual-retrieval.vala
index 3994222..f385689 100644
--- a/tests/key-file/individual-retrieval.vala
+++ b/tests/key-file/individual-retrieval.vala
@@ -34,14 +34,6 @@ public class IndividualRetrievalTests : Folks.TestCase
           "__alias=Bar McBadgerson\n" +
           "jabber=bar jabber org\n");
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("couldn't get list of favourite individuals: " +
-              "The name org.freedesktop.Telepathy.Logger was not provided by " +
-              "any .service files");
-        });
-
       /* Create a set of the individuals we expect to see */
       HashSet<string> expected_individuals = new HashSet<string> (str_hash,
           str_equal);
@@ -91,14 +83,6 @@ public class IndividualRetrievalTests : Folks.TestCase
           "__alias=Brian Briansson\n" +
           "msn=foo hotmail com\n");
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("couldn't get list of favourite individuals: " +
-              "The name org.freedesktop.Telepathy.Logger was not provided by " +
-              "any .service files");
-        });
-
       /* Set up the aggregator */
       var aggregator = new IndividualAggregator ();
       uint individuals_changed_count = 0;



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