get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,8 +112,8 @@ void FontMapperTestCase::NamesAndDesc()
|
||||
for ( size_t n = 0; n < WXSIZEOF(charsets); n++ )
|
||||
{
|
||||
wxFontEncoding enc = fmap.CharsetToEncoding(charsets[n]);
|
||||
WX_ASSERT_STR_EQUAL( names[n], fmap.GetEncodingName(enc).Lower() );
|
||||
WX_ASSERT_STR_EQUAL( descriptions[n], fmap.GetEncodingDescription(enc) );
|
||||
CPPUNIT_ASSERT_EQUAL( names[n], fmap.GetEncodingName(enc).Lower() );
|
||||
CPPUNIT_ASSERT_EQUAL( descriptions[n], fmap.GetEncodingDescription(enc) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user