1 // 2 // LocalDateTimeTest.h 3 // 4 // Definition of the LocalDateTimeTest class. 5 // 6 // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 7 // and Contributors. 8 // 9 // SPDX-License-Identifier: BSL-1.0 10 // 11 12 13 #ifndef LocalDateTimeTest_INCLUDED 14 #define LocalDateTimeTest_INCLUDED 15 16 17 #include "Poco/Foundation.h" 18 #include "CppUnit/TestCase.h" 19 20 21 class LocalDateTimeTest: public CppUnit::TestCase 22 { 23 public: 24 LocalDateTimeTest(const std::string& name); 25 ~LocalDateTimeTest(); 26 27 void testGregorian1(); 28 void testGregorian2(); 29 void testConversions(); 30 void testCalcs(); 31 void testAMPM(); 32 void testRelational1(); 33 void testRelational2(); 34 void testArithmetics1(); 35 void testArithmetics2(); 36 void testSwap(); 37 void testTimezone(); 38 39 void setUp(); 40 void tearDown(); 41 42 static CppUnit::Test* suite(); 43 44 private: 45 }; 46 47 48 #endif // LocalDateTimeTest_INCLUDED 49