1 | // |
---|---|
2 | // DateTimeFormatterTest.h |
3 | // |
4 | // Definition of the DateTimeFormatterTest 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 DateTimeFormatterTest_INCLUDED |
14 | #define DateTimeFormatterTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class DateTimeFormatterTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | DateTimeFormatterTest(const std::string& name); |
25 | ~DateTimeFormatterTest(); |
26 | |
27 | void testISO8601(); |
28 | void testISO8601Frac(); |
29 | void testRFC822(); |
30 | void testRFC1123(); |
31 | void testHTTP(); |
32 | void testRFC850(); |
33 | void testRFC1036(); |
34 | void testASCTIME(); |
35 | void testSORTABLE(); |
36 | void testCustom(); |
37 | void testTimespan(); |
38 | |
39 | void setUp(); |
40 | void tearDown(); |
41 | |
42 | static CppUnit::Test* suite(); |
43 | |
44 | private: |
45 | }; |
46 | |
47 | |
48 | #endif // DateTimeFormatterTest_INCLUDED |
49 |