Cut unnecessary log message suppressions in the Aggregation test.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Tue, 21 Jun 2011 23:31:18 +0000 (16:31 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 23 Jun 2011 16:34:20 +0000 (09:34 -0700)
Helps: bgo#629716 - Migrate Folks to GDBus

tests/folks/aggregation.vala

index 5bb9c51..21eddd6 100644 (file)
@@ -62,13 +62,6 @@ public class AggregationTests : Folks.TestCase
     {
       var main_loop = new GLib.MainLoop (null, false);
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("The name org.freedesktop.Telepathy.Logger " +
-              "was not provided by any .service files");
-        });
-
       this._kf_backend.set_up ("");
 
       void* account1_handle = this._tp_backend.add_account ("protocol",
@@ -182,13 +175,6 @@ public class AggregationTests : Folks.TestCase
     {
       var main_loop = new GLib.MainLoop (null, false);
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("The name org.freedesktop.Telepathy.Logger " +
-              "was not provided by any .service files");
-        });
-
       this._kf_backend.set_up ("[0]\n" +
           "protocol=travis@example.com;olivier@example.com;" +
               "guillaume@example.com;sjoerd@example.com\n" +
@@ -349,13 +335,6 @@ public class AggregationTests : Folks.TestCase
     {
       var main_loop = new GLib.MainLoop (null, false);
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("The name org.freedesktop.Telepathy.Logger " +
-              "was not provided by any .service files");
-        });
-
       this._kf_backend.set_up ("[0]\n" +
           "protocol=travis@example.com;olivier@example.com;" +
               "guillaume@example.com;sjoerd@example.com\n" +
@@ -497,13 +476,6 @@ public class AggregationTests : Folks.TestCase
     {
       var main_loop = new GLib.MainLoop (null, false);
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("The name org.freedesktop.Telepathy.Logger " +
-              "was not provided by any .service files");
-        });
-
       this._kf_backend.set_up ("");
 
       void* account1_handle = this._tp_backend.add_account ("protocol",
@@ -597,13 +569,6 @@ public class AggregationTests : Folks.TestCase
     {
       var main_loop = new GLib.MainLoop (null, false);
 
-      /* Ignore the error caused by not running the logger */
-      Test.log_set_fatal_handler ((d, l, m) =>
-        {
-          return !m.has_suffix ("The name org.freedesktop.Telepathy.Logger " +
-              "was not provided by any .service files");
-        });
-
       this._kf_backend.set_up ("");
 
       void* account1_handle = this._tp_backend.add_account ("irc",