X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a15239a6fd5420b784e4e03d153992468ab914ea..1ec4e9c2b72a01a7ba7da569e0f8d04a81aaba10:/tests/misc/settings.cpp diff --git a/tests/misc/settings.cpp b/tests/misc/settings.cpp index 0c01100932..c89fdfcfb2 100644 --- a/tests/misc/settings.cpp +++ b/tests/misc/settings.cpp @@ -56,7 +56,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( SettingsTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( SettingsTestCase, "SettingsTestCase" ); @@ -120,7 +120,12 @@ void SettingsTestCase::GlobalFonts() const wxString facename = font[i].GetFaceName(); if ( !facename.empty() ) - CPPUNIT_ASSERT( wxFontEnumerator::IsValidFacename(facename) ); + { + WX_ASSERT_MESSAGE( + ("font #%u: facename \"%s\" is invalid", i, facename), + wxFontEnumerator::IsValidFacename(facename) + ); + } } }