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

Christian Dywan noreply at xfce.org
Wed Nov 28 01:34:01 CET 2012


Updating branch refs/heads/master
         to a93897233667a6109d6138bfbbed0743735fe19b (commit)
       from 0d0911c98ba6a71eb617cf89c603844a17676937 (commit)

commit a93897233667a6109d6138bfbbed0743735fe19b
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Nov 27 23:38:06 2012 +0100

    Ignore icon theme warnings in tab special test

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

diff --git a/tests/tab.vala b/tests/tab.vala
index 95f6391..a1c2516 100644
--- a/tests/tab.vala
+++ b/tests/tab.vala
@@ -76,6 +76,10 @@ static void tab_display_ellipsize () {
 }
 
 void tab_special () {
+    Test.log_set_fatal_handler ((domain, log_levels, message)=> {
+        return !message.contains("Error loading theme icon");
+        });
+
     var test_address = new Soup.Address ("127.0.0.1", Soup.ADDRESS_ANY_PORT);
     test_address.resolve_sync (null);
     var test_server = new Soup.Server ("interface", test_address, null);


More information about the Xfce4-commits mailing list