use CPPUNIT_ASSERT_MESSAGE() to show which test exactly failed; use more CPPUNIT_ASSERT_EQUAL()s instead of simple CPPUNIT_ASSERT()s for the same purpose

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-11-08 19:06:32 +00:00
parent 2264775b8a
commit c217396535

View File

@ -147,7 +147,7 @@ void FileNameTestCase::TestConstruction()
CPPUNIT_ASSERT_MESSAGE
(
wxString::Format("Normalize(%s) failed", fni.fullname).c_str(),
fn.Normalize(wxPATH_NORM_ALL, _T(""), fni.format)
fn.Normalize(wxPATH_NORM_ALL, _T("/foo/bar/baz"), fni.format)
);
if ( *fni.volume && *fni.path )