]> git.saurik.com Git - wxWidgets.git/commitdiff
another test for DST bug
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 00:23:05 +0000 (00:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2005 00:23:05 +0000 (00:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/datetime/datetimetest.cpp

index f4adb0d26b079a781dd864a786fc822bb9553205..44924b868d640a6cea7cf471ea29433eb157d0f4 100644 (file)
@@ -757,6 +757,9 @@ void DateTimeTestCase::TestDSTBug()
     CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetSecond());
     CPPUNIT_ASSERT_EQUAL(0, (int)dt.GetMillisecond());
 
+    dt.Set(1, 0, 0, 0);
+    CPPUNIT_ASSERT_EQUAL(1, (int)dt.GetHour());
+
     /////////////////////////
     // Test Today()
 #ifdef CHANGE_SYSTEM_DATE