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:
@@ -87,6 +87,15 @@ CPPUNIT_NS_BEGIN
|
||||
|
||||
// provide an overload of cppunit assertEquals(T, T) which can be used to
|
||||
// compare wxStrings directly with C strings
|
||||
inline void
|
||||
assertEquals(const char *expected,
|
||||
const char *actual,
|
||||
CppUnit::SourceLine sourceLine,
|
||||
const std::string& message)
|
||||
{
|
||||
assertEquals(wxString(expected), wxString(actual), sourceLine, message);
|
||||
}
|
||||
|
||||
inline void
|
||||
assertEquals(const char *expected,
|
||||
const wxString& actual,
|
||||
|
Reference in New Issue
Block a user