]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cppunit.h
allow setting empty tooltip in SetIcon() (patch 1750994)
[wxWidgets.git] / include / wx / cppunit.h
index 669889199132b14f4d9b04e35147517fcfb7738d..38fcfee82af406d9bd5451f61b6f7a264893031e 100644 (file)
@@ -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