1 | // |
---|---|
2 | // LineEndingConverterTest.h |
3 | // |
4 | // Definition of the LineEndingConverterTest class. |
5 | // |
6 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef LineEndingConverterTest_INCLUDED |
14 | #define LineEndingConverterTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class LineEndingConverterTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | LineEndingConverterTest(const std::string& name); |
25 | ~LineEndingConverterTest(); |
26 | |
27 | void testInputDosToUnix(); |
28 | void testInputUnixToDos(); |
29 | void testInputMacToUnix(); |
30 | void testInputRemove(); |
31 | void testOutputDosToUnix(); |
32 | void testOutputUnixToDos(); |
33 | void testOutputMacToUnix(); |
34 | void testOutputRemove(); |
35 | |
36 | void setUp(); |
37 | void tearDown(); |
38 | |
39 | static CppUnit::Test* suite(); |
40 | |
41 | private: |
42 | }; |
43 | |
44 | |
45 | #endif // LineEndingConverterTest_INCLUDED |
46 |