From: Travis Reitter Date: Tue, 21 Jun 2011 23:31:18 +0000 (-0700) Subject: Cut unnecessary log message suppressions in the Aggregation test. X-Git-Tag: FOLKS_0_6_0~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a32e8adc4dcc15d6ac207d9c9dd6c9d7d44cd174;p=platform%2Fupstream%2Ffolks.git Cut unnecessary log message suppressions in the Aggregation test. Helps: bgo#629716 - Migrate Folks to GDBus --- diff --git a/tests/folks/aggregation.vala b/tests/folks/aggregation.vala index 5bb9c51..21eddd6 100644 --- a/tests/folks/aggregation.vala +++ b/tests/folks/aggregation.vala @@ -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",