really fixed the DST test by using explicit country in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -854,7 +854,7 @@ void DateTimeTestCase::TestDSTBug()
|
|||||||
{
|
{
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
// Test GetEndDST()
|
// Test GetEndDST()
|
||||||
wxDateTime dt = wxDateTime::GetEndDST(2004);
|
wxDateTime dt = wxDateTime::GetEndDST(2004, wxDateTime::France);
|
||||||
CPPUNIT_ASSERT_EQUAL(31, (int)dt.GetDay());
|
CPPUNIT_ASSERT_EQUAL(31, (int)dt.GetDay());
|
||||||
CPPUNIT_ASSERT_EQUAL(wxDateTime::Oct, dt.GetMonth());
|
CPPUNIT_ASSERT_EQUAL(wxDateTime::Oct, dt.GetMonth());
|
||||||
CPPUNIT_ASSERT_EQUAL(2004, (int)dt.GetYear());
|
CPPUNIT_ASSERT_EQUAL(2004, (int)dt.GetYear());
|
||||||
|
Reference in New Issue
Block a user