X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1de532f57e9a7d25158edb8aed633fb1099a04ea..7a344f1be4ff59b7b150ab52265693d4219de973:/include/wx/cppunit.h diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index db93e87aa8..503ed3e8e0 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -55,6 +55,8 @@ #include #include "wx/afterstd.h" +#include "wx/string.h" + /////////////////////////////////////////////////////////////////////////////// // Set of helpful test macros. @@ -114,17 +116,6 @@ assertEquals(int expected, assertEquals(size_t(expected), actual, sourceLine, message); } -// and another, slightly different, for checking that result of potentially -// different time_t type is the same as given time_t value -inline void -assertEquals(time_t expected, - long actual, - CppUnit::SourceLine sourceLine, - const std::string& message) -{ - assertEquals(expected, time_t(actual), sourceLine, message); -} - CPPUNIT_NS_END // Use this macro to compare a wxArrayString with the pipe-separated elements