projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f501c3a
)
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT to have more details when the...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 31 May 2008 23:08:57 +0000
(23:08 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 31 May 2008 23:08:57 +0000
(23:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53885
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
tests/datetime/datetimetest.cpp
patch
|
blob
|
blame
|
history
diff --git
a/tests/datetime/datetimetest.cpp
b/tests/datetime/datetimetest.cpp
index 3a2db4a287b777277b9f0bf30a0ce3989708d5a6..988ee7fe2d6b6651a6ddfa47197b7f8d8dab8de3 100644
(file)
--- a/
tests/datetime/datetimetest.cpp
+++ b/
tests/datetime/datetimetest.cpp
@@
-731,11
+731,11
@@
void DateTimeTestCase::TestTimeTicks()
//into Vadim's tests
dt.MakeTimezone(wxDateTime::WEST, true);
long ticks = (dt.GetValue() / 1000).ToLong();
- CPPUNIT_ASSERT
( ticks == d.
ticks );
+ CPPUNIT_ASSERT
_EQUAL( d.ticks,
ticks );
dt = d.DT().FromTimezone(wxDateTime::GMT0);
ticks = (dt.GetValue() / 1000).ToLong();
- CPPUNIT_ASSERT
( ticks == d.gm
ticks );
+ CPPUNIT_ASSERT
_EQUAL( d.gmticks,
ticks );
}
}