add WX_ASSERT_EQUAL_MESSAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -160,6 +160,10 @@ CPPUNIT_NS_END
|
||||
#define WX_ASSERT_MESSAGE(msg, cond) \
|
||||
CPPUNIT_ASSERT_MESSAGE(std::string(wxString::Format msg .mb_str()), (cond))
|
||||
|
||||
#define WX_ASSERT_EQUAL_MESSAGE(msg, expected, actual) \
|
||||
CPPUNIT_ASSERT_EQUAL_MESSAGE(std::string(wxString::Format msg .mb_str()), \
|
||||
(expected), (actual))
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// define stream inserter for wxString if it's not defined in the main library,
|
||||
// we need it to output the test failures involving wxString
|
||||
|
Reference in New Issue
Block a user