]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cppunit.h
Added experimental async clipboard format query
[wxWidgets.git] / include / wx / cppunit.h
index 5d5e7406bf6b03358b88bccbbdd74b4560145371..59f79b831da3b66966b24be12d456fc75fba2276 100644 (file)
@@ -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