]> git.saurik.com Git - wxWidgets.git/commitdiff
need to overload assertEquals(int,short) too to resolve ambiguity
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jan 2009 12:32:26 +0000 (12:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jan 2009 12:32:26 +0000 (12:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cppunit.h

index b44daff6ddefa79be57dcec973f558b264ca1372..b11bebf5a907144bc0736abf609347c66291a995 100644 (file)
@@ -123,8 +123,9 @@ assertEquals(const wchar_t *expected,
     }
 
 // and another to be able to specify (usually literal) ints as expected values
-// for functions returning size_t/long/wxFileOffset
+// for functions returning size_t/short/long/wxFileOffset
 WX_CPPUNIT_ASSERT_EQUALS(int, long)
+WX_CPPUNIT_ASSERT_EQUALS(int, short)
 WX_CPPUNIT_ASSERT_EQUALS(int, size_t)
 WX_CPPUNIT_ASSERT_EQUALS(int, wxFileOffset)
 
@@ -136,6 +137,7 @@ WX_CPPUNIT_ASSERT_EQUALS(int, wxFileOffset)
 
 WX_CPPUNIT_ASSERT_EQUALS(int, int)
 WX_CPPUNIT_ASSERT_EQUALS(long, long)
+WX_CPPUNIT_ASSERT_EQUALS(short, short)
 WX_CPPUNIT_ASSERT_EQUALS(size_t, size_t)
 WX_CPPUNIT_ASSERT_EQUALS(wxFileOffset, wxFileOffset)