1 | // |
2 | // FormatTest.h |
3 | // |
4 | // Definition of the FormatTest class. |
5 | // |
6 | // SPDX-License-Identifier: BSL-1.0 |
7 | // |
8 | |
9 | |
10 | #ifndef FormatTest_INCLUDED |
11 | #define FormatTest_INCLUDED |
12 | |
13 | |
14 | #include "Poco/Foundation.h" |
15 | #include "Poco/CppUnit/TestCase.h" |
16 | |
17 | |
18 | class FormatTest: public CppUnit::TestCase |
19 | { |
20 | public: |
21 | FormatTest(const std::string& name); |
22 | ~FormatTest(); |
23 | |
24 | void testChar(); |
25 | void testInt(); |
26 | void testBool(); |
27 | void testAnyInt(); |
28 | void testFloatFix(); |
29 | void testFloatSci(); |
30 | void testString(); |
31 | void testMultiple(); |
32 | void testIndex(); |
33 | |
34 | void setUp(); |
35 | void tearDown(); |
36 | |
37 | static CppUnit::Test* suite(); |
38 | |
39 | private: |
40 | }; |
41 | |
42 | |
43 | #endif // FormatTest_INCLUDED |
44 | |