]> git.saurik.com Git - wxWidgets.git/commitdiff
even more detailed info to debug buildslaves failures
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 13 Apr 2009 18:34:27 +0000 (18:34 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 13 Apr 2009 18:34:27 +0000 (18:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/font/fonttest.cpp

index d98c48c0e085da92eaa04e7e29c1656e2574fb2f..ed8cc2ef208050900e9ad78151fee351a058ed48 100644 (file)
@@ -110,7 +110,8 @@ void FontTestCase::GetSet()
         CPPUNIT_ASSERT( temp.SetNativeFontInfo(nid) );
         CPPUNIT_ASSERT( temp.IsOk() );
         WX_ASSERT_MESSAGE( 
-            ("Test #%lu failed; native info desc was \"%s\"", n, nid),
+            ("Test #%lu failed; native info desc was \"%s\" for test and \"%s\" for temp", \
+             n, nid, temp.GetNativeFontInfoDesc()),
             temp == test );
 
         
@@ -127,7 +128,8 @@ void FontTestCase::GetSet()
 #ifdef __WXGTK__
         // Pango saves/restores all font info in the user-friendly string:
         WX_ASSERT_MESSAGE( 
-            ("Test #%lu failed; native info user desc was \"%s\"", n, niud),
+            ("Test #%lu failed; native info user desc was \"%s\" for test and \"%s\" for temp2", \
+             n, niud, temp2.GetNativeFontInfoUserDesc()),
             temp2 == test );
 #else
         // NOTE: as documented GetNativeFontInfoUserDesc/SetNativeFontInfoUserDesc