added WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,6 +77,9 @@
|
|||||||
#define WXTEST_FAIL_WITH_CONDITION(suiteName, Condition, testMethod) \
|
#define WXTEST_FAIL_WITH_CONDITION(suiteName, Condition, testMethod) \
|
||||||
WXTEST_ANY_WITH_CONDITION(suiteName, Condition, testMethod, CPPUNIT_TEST_FAIL(testMethod))
|
WXTEST_ANY_WITH_CONDITION(suiteName, Condition, testMethod, CPPUNIT_TEST_FAIL(testMethod))
|
||||||
|
|
||||||
|
// Use this macro to compare a wxString with a literal string.
|
||||||
|
#define WX_ASSERT_STR_EQUAL(p, s) CPPUNIT_ASSERT_EQUAL(wxString(p), s)
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// stream inserter for wxString
|
// stream inserter for wxString
|
||||||
|
Reference in New Issue
Block a user