[Xfce4-commits] <midori:master> Ignore icon theme warnings in app normal test

Christian Dywan noreply at xfce.org
Sun Dec 2 16:34:09 CET 2012


Updating branch refs/heads/master
         to 16fb7ce2609d2876848ca580602f52c768890e01 (commit)
       from 775ae53deee8a74641bac0508a6827d19297205a (commit)

commit 16fb7ce2609d2876848ca580602f52c768890e01
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Dec 2 16:18:28 2012 +0100

    Ignore icon theme warnings in app normal test

 tests/app.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/app.vala b/tests/app.vala
index 36af15c..4c633c1 100644
--- a/tests/app.vala
+++ b/tests/app.vala
@@ -10,6 +10,10 @@
 */
 
 void app_normal () {
+    Test.log_set_fatal_handler ((domain, log_levels, message)=> {
+        return !message.contains("Error loading theme icon");
+        });
+
     Midori.Paths.Test.reset_runtime_mode ();
     var app = Midori.normal_app_new (null, false, false, null, null, null, -1, null);
     var loop = MainContext.default ();


More information about the Xfce4-commits mailing list