remove the just added assertEquals(time_t, long) overload, it results in infinite recursion and crash if time_t is the same type as long

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-07-19 20:07:36 +00:00
parent cc209a518f
commit ece97e2882
2 changed files with 1 additions and 12 deletions

View File

@@ -761,7 +761,7 @@ void DateTimeTestCase::TestTimeTicks()
// GetValue() returns internal UTC-based representation, we need to
// convert it to local TZ before comparing
long ticks = (dt.GetValue() / 1000).ToLong() + TZ_LOCAL.GetOffset();
time_t ticks = (dt.GetValue() / 1000).ToLong() + TZ_LOCAL.GetOffset();
if ( dt.IsDST() )
ticks += 3600;
CPPUNIT_ASSERT_EQUAL( d.gmticks, ticks + tzOffset );