X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0aeb729dd02e78d8daf56a9380a1cccf317fe5..e6893d5d28b59703bdb7653df83bac83c904c186:/include/wx/cppunit.h diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index 6698891991..38fcfee82a 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -77,6 +77,9 @@ #define WXTEST_FAIL_WITH_CONDITION(suiteName, Condition, 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