revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-04-04 23:55:05 +00:00
parent 0eb83a1a72
commit 390b8241d3
3 changed files with 13 additions and 4 deletions

View File

@@ -207,8 +207,8 @@ void CrtTestCase::Strpbrk()
CPPUNIT_ASSERT_EQUAL( ',', *wxStrpbrk(strWX.c_str(), s.mb_str()) );
CPPUNIT_ASSERT_EQUAL( L',', *wxStrpbrk(strWX.c_str(), s.wc_str()) );
CPPUNIT_ASSERT_EQUAL( (char *)NULL, wxStrpbrk(strWX, "xyz") );
CPPUNIT_ASSERT_EQUAL( (wchar_t *)NULL, wxStrpbrk(strWX.c_str(), L"xyz") );
CPPUNIT_ASSERT( !wxStrpbrk(strWX, "xyz") );
CPPUNIT_ASSERT( !wxStrpbrk(strWX.c_str(), L"xyz") );
}
void CrtTestCase::Strnlen()