another test for DST bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -757,6 +757,9 @@ void DateTimeTestCase::TestDSTBug()
|
|||||||
CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetSecond());
|
CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetSecond());
|
||||||
CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetMillisecond());
|
CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetMillisecond());
|
||||||
|
|
||||||
|
dt.Set(1, 0, 0, 0);
|
||||||
|
CPPUNIT_ASSERT_EQUAL(1, (int)dt.GetHour());
|
||||||
|
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
// Test Today()
|
// Test Today()
|
||||||
#ifdef CHANGE_SYSTEM_DATE
|
#ifdef CHANGE_SYSTEM_DATE
|
||||||
|
Reference in New Issue
Block a user