1 | // |
2 | // TimespanTest.h |
3 | // |
4 | // Definition of the TimespanTest 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 TimespanTest_INCLUDED |
14 | #define TimespanTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class TimespanTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | TimespanTest(const std::string& name); |
25 | ~TimespanTest(); |
26 | |
27 | void testConversions(); |
28 | void testComparisons(); |
29 | void testArithmetics(); |
30 | void testSwap(); |
31 | |
32 | void setUp(); |
33 | void tearDown(); |
34 | |
35 | static CppUnit::Test* suite(); |
36 | |
37 | private: |
38 | }; |
39 | |
40 | |
41 | #endif // TimespanTest_INCLUDED |
42 | |