add yet another overload of assertEquals to fix another compilation error due to using different types inside CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,6 +137,16 @@ assertEquals(int expected,
|
||||
assertEquals((unsigned short)expected, actual, sourceLine, message);
|
||||
}
|
||||
|
||||
// this one is useful for wxTextCtrl functions which return longs
|
||||
inline void
|
||||
assertEquals(int expected,
|
||||
long actual,
|
||||
CppUnit::SourceLine sourceLine,
|
||||
const std::string& message)
|
||||
{
|
||||
assertEquals((long)expected, actual, sourceLine, message);
|
||||
}
|
||||
|
||||
CPPUNIT_NS_END
|
||||
|
||||
// Use this macro to compare a wxArrayString with the pipe-separated elements
|
||||
|
Reference in New Issue
Block a user